]> git.mxchange.org Git - friendica.git/commitdiff
require dependencies.config.php file in index.php entry point
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 07:26:04 +0000 (07:26 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 07:26:04 +0000 (07:26 +0000)
index.php

index 9ea262c5e7031b315c73c84ab92038a4e948fccb..5cdb30936318b432bd507ba12038d71ecd490644 100644 (file)
--- a/index.php
+++ b/index.php
@@ -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);