1) Refactor App->config[] into Core\Config

This commit is contained in:
Philipp Holzer
2019-02-03 18:54:25 +01:00
parent 82f713cb7f
commit be6b229534
11 changed files with 191 additions and 177 deletions

View File

@@ -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();