tony2001 Tue Jul 11 21:19:57 2006 UTC
Modified files:
/php-src/ext/standard/tests/file bug24313.phpt
Log:
/tmp is often a symlink, use /bin instead
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug24313.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/standard/tests/file/bug24313.phpt
diff -u php-src/ext/standard/tests/file/bug24313.phpt:1.4
php-src/ext/standard/tests/file/bug24313.phpt:1.5
--- php-src/ext/standard/tests/file/bug24313.phpt:1.4 Mon Apr 10 23:48:38 2006
+++ php-src/ext/standard/tests/file/bug24313.phpt Tue Jul 11 21:19:56 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