X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fspool_post.php;h=d55b100edae94bf7a72347a42a3df4dca3b660a6;hb=95bb8d38e87d8b09ef37404c4b23c08b6feb9da4;hp=c42928a67288c3783032852927c0ab54a59b3c4a;hpb=fc3c1601b1d8de58aff2457f6e116ea226c69ced;p=friendica.git diff --git a/include/spool_post.php b/include/spool_post.php index c42928a672..d55b100eda 100644 --- a/include/spool_post.php +++ b/include/spool_post.php @@ -3,6 +3,9 @@ * @file include/spool_post.php * @brief Posts items that wer spooled because they couldn't be posted. */ + +use \Friendica\Core\Config; + require_once("boot.php"); require_once("include/items.php"); @@ -20,8 +23,7 @@ function spool_post_run($argv, $argc) { unset($db_host, $db_user, $db_pass, $db_data); } - load_config('config'); - load_config('system'); + Config::load(); $path = get_spoolpath();