Merge pull request #7722 from nupplaphil/bug/7718-lang

Fix browser language detection
This commit is contained in:
Tobias Diekershoff 2019-10-10 16:54:32 +02:00 committed by GitHub
commit 50fa119f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 173 additions and 38 deletions

View 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;
@ -173,4 +174,9 @@ return [
['addRoutes', [include __DIR__ . '/routes.config.php'], Dice::CHAIN_CALL],
],
],
L10n::class => [
'constructParams' => [
$_SERVER, $_GET
],
],
];