From e0dadea0ff1559f2a5c0ea4fdb924b73565d173a Mon Sep 17 00:00:00 2001 From: Art4 Date: Wed, 25 Dec 2024 21:01:24 +0000 Subject: [PATCH] Refactor path to dice rules --- bin/auth_ejabberd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/auth_ejabberd.php b/bin/auth_ejabberd.php index 2bffc9ce0a..c44cd65ff6 100755 --- a/bin/auth_ejabberd.php +++ b/bin/auth_ejabberd.php @@ -54,7 +54,7 @@ chdir(dirname(__FILE__, 2)); require dirname(__DIR__) . '/vendor/autoload.php'; -$dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config.php'); +$dice = (new Dice())->addRules(require(dirname(__FILE__, 2) . '/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'));