require dependencies.config.php file in index.php entry point

This commit is contained in:
Art4 2024-12-26 07:26:04 +00:00
parent e59dd9d9d4
commit c99958c327

View file

@ -17,7 +17,7 @@ require __DIR__ . '/vendor/autoload.php';
$request = \GuzzleHttp\Psr7\ServerRequest::fromGlobals();
$dice = (new Dice())->addRules(include __DIR__ . '/static/dependencies.config.php');
$dice = (new Dice())->addRules(require(__DIR__ . '/static/dependencies.config.php'));
$app = \Friendica\App::fromDice($dice);