From 24ce6180c45926205340c293dafa0ce13ded75fe Mon Sep 17 00:00:00 2001 From: Art4 Date: Sat, 28 Dec 2024 22:44:23 +0000 Subject: [PATCH] require dice dependency --- bin/jetstream.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/jetstream.php b/bin/jetstream.php index 9764c38e51..2a3b5999fa 100755 --- a/bin/jetstream.php +++ b/bin/jetstream.php @@ -27,7 +27,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'));