mirror of
https://github.com/nextcloud/server.git
synced 2024-07-29 08:15:55 +02:00
ignore config read failures
This commit is contained in:
parent
5caa7576d4
commit
485e8ab0a5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user