X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdependencies.config.php;h=28cc58a611aa58c97bf19112fb8e16a763bc5b78;hb=04caf1777298b9baaf92722b5b1698d342831400;hp=b1a54786ac10cd68a4549fe717ef271c155db80d;hpb=befc8c86ab3afa69ec72dfea7a29cc50b82d2677;p=friendica.git diff --git a/static/dependencies.config.php b/static/dependencies.config.php index b1a54786ac..28cc58a611 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -81,7 +81,7 @@ return [ Config\Cache::class => [ 'instanceOf' => Factory\ConfigFactory::class, 'call' => [ - ['createCache', [], Dice::CHAIN_CALL], + ['createCache', [$_SERVER], Dice::CHAIN_CALL], ], ], App\Mode::class => [ @@ -105,7 +105,6 @@ return [ Database::class => [ 'constructParams' => [ [Dice::INSTANCE => \Psr\Log\NullLogger::class], - $_SERVER, ], ], /**