Use file_exists to fix the unittests
This commit is contained in:
parent
64f16f1db1
commit
ae2b3732de
|
@ -129,7 +129,7 @@ class Config {
|
|||
}
|
||||
// Include file and merge config
|
||||
foreach ($configFiles as $file) {
|
||||
if (!is_file($file)) {
|
||||
if (!file_exists($file)) {
|
||||
continue;
|
||||
}
|
||||
unset($CONFIG);
|
||||
|
|
Loading…
Reference in New Issue