]> git.mxchange.org Git - friendica.git/blobdiff - include/shadowupdate.php
The config class now makes less database reads.
[friendica.git] / include / shadowupdate.php
index 74c2a43ebd792fc37cbe1d9c239e71690d53a31e..83a785fe1fdd88b3455685861354b27ad73d3594 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+
+use \Friendica\Core\Config;
+
 require_once("boot.php");
 require_once("include/threads.php");
 
@@ -14,8 +17,7 @@ if(is_null($db)) {
        unset($db_host, $db_user, $db_pass, $db_data);
 }
 
-load_config('config');
-load_config('system');
+Config::load();
 
 update_shadow_copy();
 killme();