Fix JITConfigAdapter to retrieve non-db config.* values

This commit is contained in:
Hypolite Petovan 2018-07-11 22:24:20 -04:00
parent bd04c03c9f
commit c8d3067d0a
1 changed files with 6 additions and 0 deletions

View File

@ -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>!';