kopia lustrzana https://github.com/friendica/friendica
require dependencies.config.php file in index.php entry point
rodzic
e59dd9d9d4
commit
c99958c327
|
@ -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);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue