X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdependencies.config.php;h=fe1b486d5fc2a110d3229fc5f304ba1c913a118d;hb=7dd757b7f974c9d9d9e91ab394a4f52cca327646;hp=d3034a2ba59a8bdc91dd402213205357bbcbd95b;hpb=32f0c3fb9cab86e91d531ed52589a60796ca6eba;p=friendica.git diff --git a/static/dependencies.config.php b/static/dependencies.config.php index d3034a2ba5..fe1b486d5f 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -181,12 +181,6 @@ return [ ['determine', [$_SERVER, $_GET], Dice::CHAIN_CALL], ], ], - App\Module::class => [ - 'instanceOf' => App\Module::class, - 'call' => [ - ['determineModule', [], Dice::CHAIN_CALL], - ], - ], \Friendica\Core\System::class => [ 'constructParams' => [ [Dice::INSTANCE => '$basepath'], @@ -196,6 +190,7 @@ return [ 'constructParams' => [ $_SERVER, __DIR__ . '/routes.config.php', + [Dice::INSTANCE => Dice::SELF], null ], ], @@ -238,4 +233,9 @@ return [ [Dice::INSTANCE => Util\ReversedFileReader::class], ] ], + \Friendica\Core\Worker\Repository\Process::class => [ + 'constructParams' => [ + $_SERVER + ], + ], ];