X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fpoller.php;h=8be4c1835c4847277b6f2c5eddee34a42e29bc39;hb=0989f725a6e943a5abb21a9adb14edf212221403;hp=e8bfb88389aebcb08355d5792df373f89b6a9d07;hpb=64d06b98b2c2910ecc133c01510ccf1cab131dab;p=friendica.git diff --git a/include/poller.php b/include/poller.php index e8bfb88389..8be4c1835c 100644 --- a/include/poller.php +++ b/include/poller.php @@ -11,7 +11,6 @@ if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) { } use \Friendica\Core\Config; -use \Friendica\Core\PConfig; require_once("boot.php"); @@ -29,6 +28,8 @@ function poller_run($argv, $argc){ unset($db_host, $db_user, $db_pass, $db_data); }; + Config::load(); + // Quit when in maintenance if (Config::get('system', 'maintenance', true)) { return;