Use file_exists to fix the unittests

This commit is contained in:
Bart Visscher 2013-06-27 22:23:53 +02:00
parent 64f16f1db1
commit ae2b3732de
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class Config {
} }
// Include file and merge config // Include file and merge config
foreach ($configFiles as $file) { foreach ($configFiles as $file) {
if (!is_file($file)) { if (!file_exists($file)) {
continue; continue;
} }
unset($CONFIG); unset($CONFIG);