mirror of
https://github.com/friendica/friendica
synced 2025-01-08 20:04:43 +00:00
Refactor path to dice rules
This commit is contained in:
parent
b94697678e
commit
e0dadea0ff
1 changed files with 1 additions and 1 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue