X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=46638a9ef3ad3b3a3bbe30d40ab9221e0a51c982;hb=a19a7dc2a0c0a22fd306e162383ef7117c1baca2;hp=46eff1071a10fc3a050cc887ea8f8f7e272ab0c2;hpb=cdb61be06fd8571d1cbd18c875b8f69ea01295a0;p=friendica.git diff --git a/bin/worker.php b/bin/worker.php index 46eff1071a..46638a9ef3 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -1,7 +1,7 @@ #!/usr/bin/env php addRule(LoggerInterface::class,['constructParams' => ['worker']]) DI::init($dice); $a = DI::app(); +DI::mode()->setExecutor(Mode::WORKER); + // Check the database structure and possibly fixes it Update::check($a->getBasePath(), true, DI::mode());