1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

/tmp is often a symlink, use /bin instead

This commit is contained in:
Antony Dovgal
2006-07-11 21:19:56 +00:00
parent 42b38dc29c
commit f41a4f4546
+3 -3
View File
@@ -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)