X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=7408f495cd202a67816303724692484afdb887af;hb=57ce6cf5daaff5d1d4433b9a8059f5dea7b68bf5;hp=f05151757b5466f8944299821cde706398e2ae11;hpb=8b7d5d0efc3e28b2f7a5407f6583c8232739aa71;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');