X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=1b70a2095544a2d26b15160b230ddb9f733c4f21;hb=87f054a6423109c5037657d529a48bf5eb65d592;hp=3510f9905d11015bb86597e9beeab1f2c2863cad;hpb=af88c2daa34e39cb6430abf64d0648665bfeb9cd;p=friendica.git diff --git a/bin/worker.php b/bin/worker.php index 3510f9905d..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);