X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=1b70a2095544a2d26b15160b230ddb9f733c4f21;hb=a9c4f3d7bacdcef86805a8ab64e5b4443c43e93f;hp=3510f9905d11015bb86597e9beeab1f2c2863cad;hpb=0a4119adaf6294bf43d135a0f435c1dd677c50e0;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);