cvs: phpweb /bin index.php
| From: | Gabor Hojtsy | Date: | Sat, 09 Aug 2003 16:50:44 +0000 |
| Subject: | cvs: phpweb /bin index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20087@lists.php.net to get a copy of this message | ||
goba Sat Aug 9 12:50:44 2003 EDT
Modified files:
/phpweb/bin index.php
Log:
Do not require register_globals
Index: phpweb/bin/index.php
diff -u phpweb/bin/index.php:1.4 phpweb/bin/index.php:1.5
--- phpweb/bin/index.php:1.4 Sat May 3 11:59:06 2003
+++ phpweb/bin/index.php Sat Aug 9 12:50:44 2003
@@ -1,8 +1,6 @@
<?php
-
// Simulate a /bin shortcut call
-$_SERVER['REQUEST_URI'] = $HTTP_SERVER_VARS['REQUEST_URI'] = '/bin';
-include_once 'prepend.inc';
-include_once "$DOCUMENT_ROOT/error/index.php";
-
+$_SERVER['REQUEST_URI'] = '/bin';
+include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
+include_once $_SERVER['DOCUMENT_ROOT'] . '/error.php';
?>