]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Introduce "static/env.config.php" for environment variable mapping to config cache...
[friendica.git] / static / dependencies.config.php
index b1a54786ac10cd68a4549fe717ef271c155db80d..ca9b788534b5e593a66fa2491c1b31eb35a98967 100644 (file)
@@ -75,13 +75,13 @@ return [
        Util\ConfigFileLoader::class => [
                'shared'          => true,
                'constructParams' => [
-                       [Dice::INSTANCE => '$basepath'],
+                       [Dice::INSTANCE => '$basepath']
                ],
        ],
        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,
                ],
        ],
        /**