]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Avoid contact update for non federated networks
[friendica.git] / static / dependencies.config.php
index 59e9d56fea3b838ccfd8b5a8efb7d032ad4333e3..fbc085f4bc347dcc8dae17fecb7cb3eb79e29b61 100644 (file)
@@ -4,6 +4,7 @@ use Dice\Dice;
 use Friendica\App;
 use Friendica\Core\Cache;
 use Friendica\Core\Config;
+use Friendica\Core\L10n\L10n;
 use Friendica\Core\Lock\ILock;
 use Friendica\Database\Database;
 use Friendica\Factory;
@@ -165,4 +166,17 @@ return [
                        [Dice::INSTANCE => '$basepath'],
                ],
        ],
+       App\Router::class => [
+               'constructParams' => [
+                       $_SERVER, null
+               ],
+               'call' => [
+                       ['loadRoutes', [include __DIR__ . '/routes.config.php'], Dice::CHAIN_CALL],
+               ],
+       ],
+       L10n::class => [
+               'constructParams' => [
+                       $_SERVER, $_GET
+               ],
+       ],
 ];