]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Updated messages.po
[friendica.git] / static / dependencies.config.php
index f07a61807e8aed3921c6afbb577db3192cb8da11..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          => [
@@ -220,8 +223,11 @@ return [
                        ['getBackend', [], Dice::CHAIN_CALL],
                ],
        ],
-       Network\IHTTPRequest::class => [
-               'instanceOf' => Network\HTTPRequest::class,
+       Network\IHTTPClient::class => [
+               'instanceOf' => Factory\HTTPClientFactory::class,
+               'call'       => [
+                       ['createClient', [], Dice::CHAIN_CALL],
+               ],
        ],
        Factory\Api\Mastodon\Error::class => [
                'constructParams' => [
@@ -232,5 +238,5 @@ return [
                'constructParams' => [
                        [Dice::INSTANCE => Util\ReversedFileReader::class],
                ]
-       ]
+       ],
 ];