1
1
Fork 0

Fix browser language detection (& tests)

This commit is contained in:
Philipp Holzer 2019-10-10 16:39:04 +02:00
commit a522cf609b
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
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
],
],
];