]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Merge pull request #10929 from MrPetovan/bug/notices
[friendica.git] / static / dependencies.config.php
index 2068b6b1ad63d6f12bc0c1e220aeb7eca5972b6d..bf7b412c2ff4c198eb1157a117e7ae305afc5bf5 100644 (file)
@@ -74,9 +74,12 @@ return [
                ]
        ],
        Util\ConfigFileLoader::class => [
-               'shared'          => true,
-               'constructParams' => [
-                       [Dice::INSTANCE => '$basepath'],
+               'instanceOf' => Factory\ConfigFactory::class,
+               'call'       => [
+                       ['createConfigFileLoader', [
+                               [Dice::INSTANCE => '$basepath'],
+                               $_SERVER,
+                       ], Dice::CHAIN_CALL],
                ],
        ],
        Config\Cache::class          => [