X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdependencies.config.php;h=fbc085f4bc347dcc8dae17fecb7cb3eb79e29b61;hb=67a0e97f7cb2636a798d8e14e72d65335e0e1020;hp=0a9f1f42e053271fb3b1102ab79ae773f753b255;hpb=c0cb1a194e0392233f3644557c8e4bcf84f5a686;p=friendica.git diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 0a9f1f42e0..fbc085f4bc 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -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; @@ -170,7 +171,12 @@ return [ $_SERVER, null ], 'call' => [ - ['addRoutes', [include __DIR__ . '/routes.config.php'], Dice::CHAIN_CALL], + ['loadRoutes', [include __DIR__ . '/routes.config.php'], Dice::CHAIN_CALL], + ], + ], + L10n::class => [ + 'constructParams' => [ + $_SERVER, $_GET ], ], ];