mirror of
https://github.com/friendica/friendica
synced 2025-04-25 13:10:11 +00:00
Fix JITConfigAdapter to retrieve non-db config.* values
This commit is contained in:
parent
bd04c03c9f
commit
c8d3067d0a
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@ class JITConfigAdapter extends BaseObject implements IConfigAdapter
|
||||||
$this->in_db[$cat][$k] = false;
|
$this->in_db[$cat][$k] = false;
|
||||||
|
|
||||||
return $a->config[$cat][$k];
|
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>!';
|
$this->cache[$cat][$k] = '!<unset>!';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue