]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Merge pull request #9887 from MrPetovan/task/9872-normalize-frontend-api-responses
[friendica.git] / static / dependencies.config.php
index b1a54786ac10cd68a4549fe717ef271c155db80d..28cc58a611aa58c97bf19112fb8e16a763bc5b78 100644 (file)
@@ -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,
                ],
        ],
        /**