aboutsummaryrefslogtreecommitdiffstats
path: root/include/php_compat
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-16 06:15:27 +0000
committerrub <rub@piwigo.org>2007-03-16 06:15:27 +0000
commitcad4270a4d2a1b67f9cfd1b99c35be24c43b1f26 (patch)
treeabcdb4e56b08d18e8e42b7c77499e7b3e2cdc083 /include/php_compat
parent6d2ea02a9591a219f5964ecc98ffa3f7796039fa (diff)
Update index.php header.
Don't use explicitly index.php on the recursive call. Add missing index.php. Chang tags.php svn properties. git-svn-id: http://piwigo.org/svn/trunk@1909 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/php_compat')
-rw-r--r--include/php_compat/index.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/php_compat/index.php b/include/php_compat/index.php
new file mode 100644
index 000000000..cd6449058
--- /dev/null
+++ b/include/php_compat/index.php
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | 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: functions_calendar.inc.php 1900 2007-03-12 22:33:53Z rub $
+// | last update : $Date: 2006-07-18 23:38:54 +0200 (mar., 18 juil. 2006) $
+// | last modifier : $Author: rub $
+// | revision : $Revision: 1481 $
+// +-----------------------------------------------------------------------+
+// | 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();
+?>