]> git.mxchange.org Git - friendica.git/commitdiff
require dependencies.config.php file in console.php entry point
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 07:29:39 +0000 (07:29 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 07:29:39 +0000 (07:29 +0000)
bin/console.php

index a5aeb3d83eca960eb5743801203063517260c5fa..ee681a0fbf23307dfe1313e2f9a34f202f0a287e 100755 (executable)
@@ -20,7 +20,8 @@ use Psr\Log\LoggerInterface;
 
 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'));