From: Art4 Date: Thu, 26 Dec 2024 09:26:23 +0000 (+0000) Subject: require the dependencies.config.php file X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=287e50f81a987002af25a870a1a097c6d91c9cd3;p=friendica.git require the dependencies.config.php file --- 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'));