tony2001 Tue Jul 11 21:20:20 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard/tests/file bug24313.phpt Log: MFH: /tmp is often a symlink, use /bin instead http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug24313.phpt?r1=1.3.4.1&r2=1.3.4.1.2.1&diff_format=u Index: php-src/ext/standard/tests/file/bug24313.phpt diff -u php-src/ext/standard/tests/file/bug24313.phpt:1.3.4.1 php-src/ext/standard/tests/file/bug24313.phpt:1.3.4.1.2.1 --- php-src/ext/standard/tests/file/bug24313.phpt:1.3.4.1 Mon Apr 10 23:48:10 2006 +++ php-src/ext/standard/tests/file/bug24313.phpt Tue Jul 11 21:20:20 2006 @@ -1,10 +1,10 @@ --TEST-- -Bug #24313 (file_exists() warning on non-existant files when is open_basedir enabled) +Bug #24313 (file_exists() throws a warning on nonexistent files when is open_basedir enabled) --INI-- -open_basedir=/tmp +open_basedir=/bin --FILE-- <?php - var_dump(file_exists("/tmp/bogus_file_no_such_thing")); + var_dump(file_exists("/bin/bogus_file_no_such_thing")); ?> --EXPECT-- bool(false)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php