[PHP-DEV] PHP 4.0 Bug #7973: Safe Mode absolute path behaviour changed From: james <email protected>
Date: 11/25/00

From: james <email protected>
Operating system: Red Hat Linux 5.2
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: Safe Mode absolute path behaviour changed

Under PHP 4.0.1pl2 running in Safe Mode with the php_doc_root admin flag set to the user's home directory, a require()'d or include()'d (or auto_prepended) file could be specified as '/html/path/to/file', which would be evaluated as php_doc_root/html/path/to/file.

After upgrading to PHP 4.0.3pl1 this is no longer working, and all files appear to require their absolute paths to be used, ie $DOCUMENT_ROOT . "/path/to/file".

-- 
Edit Bug report at: http://bugs.php.net/?id=7973&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>