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