]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Partly revert coding for compatibility issues
[friendica.git] / static / dependencies.config.php
index 84344a60e28a660493540420514b6f9b60437cda..3df54b79e61106c3485e0377d8dd90e4dd359ef7 100644 (file)
@@ -46,6 +46,7 @@ use Friendica\Database\Database;
 use Friendica\Factory;
 use Friendica\Model\Storage\IStorage;
 use Friendica\Model\User\Cookie;
+use Friendica\Network;
 use Friendica\Util;
 use Psr\Log\LoggerInterface;
 
@@ -190,10 +191,9 @@ return [
        ],
        App\Router::class => [
                'constructParams' => [
-                       $_SERVER, null
-               ],
-               'call' => [
-                       ['loadRoutes', [include __DIR__ . '/routes.config.php'], Dice::CHAIN_CALL],
+                       $_SERVER,
+                       __DIR__ . '/routes.config.php',
+                       null
                ],
        ],
        L10n::class => [
@@ -219,4 +219,7 @@ return [
                        ['getBackend', [], Dice::CHAIN_CALL],
                ],
        ],
+       Network\IHTTPRequest::class => [
+               'instanceOf' => Network\HTTPRequest::class,
+       ]
 ];