From 287e50f81a987002af25a870a1a097c6d91c9cd3 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 26 Dec 2024 09:26:23 +0000 Subject: [PATCH] require the dependencies.config.php file --- bin/daemon.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/daemon.php b/bin/daemon.php index ef9e452647..caa32f123d 100755 --- a/bin/daemon.php +++ b/bin/daemon.php @@ -35,7 +35,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'));