Skip to content
Snippets Groups Projects
Commit ae2b3732 authored by Bart Visscher's avatar Bart Visscher
Browse files

Use file_exists to fix the unittests

parent 64f16f1d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment