mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 21:03:00 -04:00
ignore config read failures
This commit is contained in:
parent
5caa7576d4
commit
485e8ab0a5
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue