X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=1b70a2095544a2d26b15160b230ddb9f733c4f21;hb=a74c547af470947c3420157cba237c4951da58f4;hp=b2d97cc11541c735f9b03d59ae0c3a9c1de1f5ea;hpb=03038e7a3bb74bdab497d26b7f829a5c3036d1c2;p=friendica.git diff --git a/bin/worker.php b/bin/worker.php index b2d97cc115..1b70a20955 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -1,13 +1,28 @@ #!/usr/bin/env php . + * + * Starts the background processing */ use Dice\Dice; use Friendica\App; -use Friendica\Core\Config; use Friendica\Core\Update; use Friendica\Core\Worker; use Friendica\DI; @@ -46,7 +61,7 @@ if (!DI::mode()->has(App\Mode::MAINTENANCEDISABLED)) { return; } -DI::baseUrl()->saveByURL(Config::get('system', 'url')); +DI::baseUrl()->saveByURL(DI::config()->get('system', 'url')); $spawn = array_key_exists('s', $options) || array_key_exists('spawn', $options);