]> git.mxchange.org Git - friendica.git/commitdiff
Refactor path to dice rules
authorArt4 <art4@wlabs.de>
Wed, 25 Dec 2024 21:01:24 +0000 (21:01 +0000)
committerArt4 <art4@wlabs.de>
Wed, 25 Dec 2024 21:01:24 +0000 (21:01 +0000)
bin/auth_ejabberd.php

index 2bffc9ce0ab666eeed646c299df19c386d95bf95..c44cd65ff65d182765fde8bbcdd5319620c1f34a 100755 (executable)
@@ -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'));