]> git.mxchange.org Git - friendica.git/commitdiff
require the dependencies.config.php file
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 09:26:23 +0000 (09:26 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 09:26:23 +0000 (09:26 +0000)
bin/daemon.php

index ef9e452647d20d3c4cf609d225b08e2beb07417c..caa32f123db89bbf4c3d8b0c1f0b863390025642 100755 (executable)
@@ -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'));