diff --git a/bin/worker.php b/bin/worker.php index c0b990fd23..684a5d8076 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -30,7 +30,8 @@ chdir(dirname(__DIR__)); require dirname(__DIR__) . '/vendor/autoload.php'; -$dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config.php'); +$dice = (new Dice())->addRules(require(dirname(__DIR__) . '/static/dependencies.config.php')); + /** @var \Friendica\Core\Addon\Capability\ICanLoadAddons $addonLoader */ $addonLoader = $dice->create(\Friendica\Core\Addon\Capability\ICanLoadAddons::class); $dice = $dice->addRules($addonLoader->getActiveAddonConfig('dependencies'));