Fix JITConfigAdapter to retrieve non-db config.* values
This commit is contained in:
parent
bd04c03c9f
commit
c8d3067d0a
|
@ -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] = '!<unset>!';
|
||||
|
|
Loading…
Reference in a new issue