fix: #33454 The localConf variable cannot be false by default; in which case the site test will fail

This commit is contained in:
Andreas Steiner 2024-07-29 11:41:28 +02:00
commit 42921d0456

View file

@ -153,7 +153,7 @@ class Settings implements \Iterator, \Countable
// load local config without merging - we need it here for the mode
$conf = $this->buildFileName();
$localConf = false;
$localConf = [];
if (file_exists($conf)) $localConf = require($conf);
// if a mode was set in the constructor do not overwrite it