]> git.mxchange.org Git - friendica.git/commitdiff
require dice dependency
authorArt4 <art4@wlabs.de>
Sat, 28 Dec 2024 22:44:23 +0000 (22:44 +0000)
committerArt4 <art4@wlabs.de>
Sat, 28 Dec 2024 22:44:23 +0000 (22:44 +0000)
bin/jetstream.php

index 9764c38e51593afc67a90dd104f5592da6967355..2a3b5999fabb80a8554b26865062278801dfdb6d 100755 (executable)
@@ -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'));