X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FCore%2FPConfig.php;h=274122deda4513dd63acaeded4414989b0d7fd21;hb=e3584daef9c7801bce8d504152c5ccbd3ab492b4;hp=bfa52f5a36ebd7e480d97d2c638ccf8a77b2958e;hpb=88353ce56f0e5da6352af2d999a58bd0c9b375f7;p=friendica.git diff --git a/src/Core/PConfig.php b/src/Core/PConfig.php index bfa52f5a36..274122deda 100644 --- a/src/Core/PConfig.php +++ b/src/Core/PConfig.php @@ -29,9 +29,7 @@ class PConfig extends BaseObject public static function init($uid) { - $a = self::getApp(); - - if (isset($a->config['system']['config_adapter']) && $a->config['system']['config_adapter'] == 'preload') { + if (Config::get('system', 'config_adapter') == 'preload') { self::$adapter = new Config\PreloadPConfigAdapter($uid); } else { self::$adapter = new Config\JITPConfigAdapter($uid);