fix: #33454 Site config was not set in the correct order #2
1 changed files with 2 additions and 2 deletions
fix: #33454 Site config was not set in the correct order
commit
6f31664c05
|
|
@ -169,7 +169,7 @@ class Settings implements \Iterator, \Countable
|
|||
$siteConf = $this->buildFileName(self::SITE);
|
||||
if (file_exists($siteConf))
|
||||
{
|
||||
$localConf = array_replace_recursive($this->settings, require($siteConf));
|
||||
$localConf = array_replace_recursive($localConf, require($siteConf));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ class Settings implements \Iterator, \Countable
|
|||
if ( isset( $this->modes[ $this->mode ] ) )
|
||||
{
|
||||
$modeConf = $this->buildFileName( $this->modes[ $this->mode ] );
|
||||
|
||||
|
||||
if ( file_exists($modeConf) )
|
||||
{
|
||||
$this->settings = array_replace_recursive( $this->settings, require($modeConf) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue