aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/theme/clear/index.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-09 09:57:57 +0000
committerplegall <plg@piwigo.org>2010-03-09 09:57:57 +0000
commitfd72d4921f4eabfa5a69b8db259181861cc79806 (patch)
tree6be89e363f8dcb276009606703449d488f4d5acd /admin/template/goto/theme/clear/index.php
parent8dc1b995863426067ff10afacea459062c71c3df (diff)
feature 1490: first step to provide a clear alternative to goto/roma. Theme
switch in progress. goto/clear is exactly the same as the revision 2.0.a made by P@t, see http://piwigo.org/ext/extension_view.php?eid=275 git-svn-id: http://piwigo.org/svn/trunk@5090 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/goto/theme/clear/index.php')
-rw-r--r--admin/template/goto/theme/clear/index.php54
1 files changed, 54 insertions, 0 deletions
diff --git a/admin/template/goto/theme/clear/index.php b/admin/template/goto/theme/clear/index.php
new file mode 100644
index 000000000..e8cc580ab
--- /dev/null
+++ b/admin/template/goto/theme/clear/index.php
@@ -0,0 +1,54 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file : $Id: index.php 3049 2009-01-04 23:28:36Z plg $
+// | last update : $Date: 2009-01-05 00:28:36 +0100 (lun. 05 janv. 2009) $
+// | last modifier : $Author: plg $
+// | revision : $Revision: 3049 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>