mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
feat(Config.php): change array_merge to array_replace_recursive when merging configs
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
72ad2edcd7
commit
178fb77be8
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ class Config {
|
|||
throw new \Exception($errorMessage);
|
||||
}
|
||||
if (isset($CONFIG) && is_array($CONFIG)) {
|
||||
$this->cache = array_merge($this->cache, $CONFIG);
|
||||
$this->cache = array_replace_recursive($this->cache, $CONFIG);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue