diff --git a/src/Core/Config/JITConfigAdapter.php b/src/Core/Config/JITConfigAdapter.php index 0596974aaa..c03a010cd4 100644 --- a/src/Core/Config/JITConfigAdapter.php +++ b/src/Core/Config/JITConfigAdapter.php @@ -71,6 +71,12 @@ class JITConfigAdapter extends BaseObject implements IConfigAdapter $this->in_db[$cat][$k] = false; return $a->config[$cat][$k]; + } elseif (isset($a->config[$k])) { + // Assign the value (mostly) from config/local.ini.php file to the cache + $this->cache[$k] = $a->config[$k]; + $this->in_db[$k] = false; + + return $a->config[$k]; } $this->cache[$cat][$k] = '!!';