mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:50:12 +00:00
1) Refactor App->config[] into Core\Config
This commit is contained in:
parent
82f713cb7f
commit
be6b229534
11 changed files with 191 additions and 177 deletions
|
@ -34,7 +34,7 @@ class PConfig extends BaseObject
|
|||
return;
|
||||
}
|
||||
|
||||
if ($a->getConfigValue('system', 'config_adapter') == 'preload') {
|
||||
if (Config::getConfigValue('system', 'config_adapter') == 'preload') {
|
||||
self::$adapter = new Config\PreloadPConfigAdapter($uid);
|
||||
} else {
|
||||
self::$adapter = new Config\JITPConfigAdapter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue