cvs: phpweb /include index.php

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

« previous php.mirrors (#20089) next »