X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=7408f495cd202a67816303724692484afdb887af;hb=86ed5caab73923449b015df5005221d129ef276b;hp=f05151757b5466f8944299821cde706398e2ae11;hpb=ca734f168caaa3a9fb66fd7ada6ecc26e1299ae6;p=friendica.git diff --git a/index.php b/index.php index f05151757b..7408f495cd 100644 --- a/index.php +++ b/index.php @@ -13,6 +13,8 @@ * */ +use \Friendica\Core\Config; + require_once('boot.php'); require_once('object/BaseObject.php'); @@ -54,8 +56,7 @@ if(!$install) { * Load configs from db. Overwrite configs from .htconfig.php */ - load_config('config'); - load_config('system'); + Config::load(); if ($a->max_processes_reached() OR $a->maxload_reached()) { header($_SERVER["SERVER_PROTOCOL"].' 503 Service Temporarily Unavailable');