chdir($directory);
}
+use \Friendica\Core\Config;
+
require_once("boot.php");
require_once("include/photos.php");
require_once("include/user.php");
require_once('mod/nodeinfo.php');
require_once('include/post_update.php');
- load_config('config');
- load_config('system');
+ Config::load();
// Don't check this stuff if the function is called by the poller
if (App::callstack() != "poller_run") {