cvs: phpweb /backend index.php /bin index.php /distributions index.php /images index.php /include index.php /pear index.php
| From: | Gabor Hojtsy | Date: | Sat, 03 May 2003 15:59:06 +0000 |
| Subject: | cvs: phpweb /backend index.php /bin index.php /distributions index.php /images index.php /include index.php /pear index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17252@lists.php.net to get a copy of this message | ||
goba Sat May 3 11:59:06 2003 EDT
Modified files:
/phpweb/pear index.php
/phpweb/include index.php
/phpweb/images index.php
/phpweb/distributions index.php
/phpweb/bin index.php
/phpweb/backend index.php
Log:
Fixing the URL shortcut simlulations
Index: phpweb/pear/index.php
diff -u phpweb/pear/index.php:1.5 phpweb/pear/index.php:1.6
--- phpweb/pear/index.php:1.5 Wed Jan 8 14:17:50 2003
+++ phpweb/pear/index.php Sat May 3 11:59:05 2003
@@ -1,8 +1,8 @@
<?php
// Simulate a /pear shortcut call
+$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] = '/pear';
include_once 'prepend.inc';
-$REQUEST_URI = '/pear';
include_once "$DOCUMENT_ROOT/error/index.php";
?>
Index: phpweb/include/index.php
diff -u phpweb/include/index.php:1.9 phpweb/include/index.php:1.10
--- phpweb/include/index.php:1.9 Sat Jan 11 07:40:05 2003
+++ phpweb/include/index.php Sat May 3 11:59:05 2003
@@ -1,8 +1,8 @@
<?php
// Simulate a /include shortcut call
+$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] =
'/include';
include_once 'prepend.inc';
-$REQUEST_URI = '/include';
include_once "$DOCUMENT_ROOT/error/index.php";
?>
Index: phpweb/images/index.php
diff -u phpweb/images/index.php:1.1 phpweb/images/index.php:1.2
--- phpweb/images/index.php:1.1 Sat Jan 18 11:48:38 2003
+++ phpweb/images/index.php Sat May 3 11:59:05 2003
@@ -1,8 +1,8 @@
<?php
// Simulate a /images shortcut call
+$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] =
'/images';
include_once 'prepend.inc';
-$REQUEST_URI = '/images';
include_once "$DOCUMENT_ROOT/error/index.php";
?>
Index: phpweb/distributions/index.php
diff -u phpweb/distributions/index.php:1.4 phpweb/distributions/index.php:1.5
--- phpweb/distributions/index.php:1.4 Sat Jan 11 08:05:40 2003
+++ phpweb/distributions/index.php Sat May 3 11:59:06 2003
@@ -1,8 +1,8 @@
<?php
// Simulate a /downloads shortcut call
+$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] =
'/downloads';
include_once 'prepend.inc';
-$REQUEST_URI = '/downloads';
include_once "$DOCUMENT_ROOT/error/index.php";
?>
Index: phpweb/bin/index.php
diff -u phpweb/bin/index.php:1.3 phpweb/bin/index.php:1.4
--- phpweb/bin/index.php:1.3 Sat Jan 11 08:05:40 2003
+++ phpweb/bin/index.php Sat May 3 11:59:06 2003
@@ -1,8 +1,8 @@
<?php
// Simulate a /bin shortcut call
+$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] = '/bin';
include_once 'prepend.inc';
-$REQUEST_URI = '/bin';
include_once "$DOCUMENT_ROOT/error/index.php";
?>
Index: phpweb/backend/index.php
diff -u phpweb/backend/index.php:1.1 phpweb/backend/index.php:1.2
--- phpweb/backend/index.php:1.1 Sat Jan 11 08:05:39 2003
+++ phpweb/backend/index.php Sat May 3 11:59:06 2003
@@ -1,8 +1,8 @@
<?php
// Simulate a /backend shortcut call
+$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] =
'/backend';
include_once 'prepend.inc';
-$REQUEST_URI = '/backend';
include_once "$DOCUMENT_ROOT/error/index.php";
?>