]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Cleanup + Standards for library/markdown.php
[friendica.git] / index.php
index f05151757b5466f8944299821cde706398e2ae11..7408f495cd202a67816303724692484afdb887af 100644 (file)
--- 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');