From 486a6ba8c6d553d0096590bf67b4cda656156e6a Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 26 Dec 2024 07:29:39 +0000 Subject: [PATCH] require dependencies.config.php file in console.php entry point --- bin/console.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/console.php b/bin/console.php index a5aeb3d83e..ee681a0fbf 100755 --- a/bin/console.php +++ b/bin/console.php @@ -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'));