X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdependencies.config.php;h=90fa13684ca98a31e28cf4a303b872da198bbbc0;hb=2ff5889e9a8cdfa6407f72ab821550023b97bfef;hp=b1a54786ac10cd68a4549fe717ef271c155db80d;hpb=a852455d0ed9824fb71c9374c9fffda28f95096f;p=friendica.git diff --git a/static/dependencies.config.php b/static/dependencies.config.php index b1a54786ac..90fa13684c 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -1,6 +1,6 @@ [ '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, ], ], /** @@ -222,5 +221,10 @@ return [ ], Network\IHTTPRequest::class => [ 'instanceOf' => Network\HTTPRequest::class, - ] + ], + Factory\Api\Mastodon\Error::class => [ + 'constructParams' => [ + $_SERVER + ], + ], ];