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

ignore config read failures

parent 5caa7576
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,8 @@ class Config {
continue;
}
unset($CONFIG);
include $file;
// ignore errors on include, this can happen when doing a fresh install
@include $file;
if (isset($CONFIG) && is_array($CONFIG)) {
$this->cache = array_merge($this->cache, $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