tony2001 Fri Jul 28 13:47:41 2006 UTC Modified files: /php-src/ext/standard/tests/file bug24313.phpt Log: fix test I really hope there are no systems where /dev is a symlink http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug24313.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/file/bug24313.phpt diff -u php-src/ext/standard/tests/file/bug24313.phpt:1.5 php-src/ext/standard/tests/file/bug24313.phpt:1.6 --- php-src/ext/standard/tests/file/bug24313.phpt:1.5 Tue Jul 11 21:19:56 2006 +++ php-src/ext/standard/tests/file/bug24313.phpt Fri Jul 28 13:47:41 2006 @@ -1,10 +1,10 @@ --TEST-- Bug #24313 (file_exists() throws a warning on nonexistent files when is open_basedir enabled) --INI-- -open_basedir=/bin +open_basedir=/dev --FILE-- <?php - var_dump(file_exists("/bin/bogus_file_no_such_thing")); + var_dump(file_exists("/dev/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