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