mirror of
https://github.com/friendica/friendica
synced 2025-04-26 20:30:11 +00:00
Fix language (again ;-) )
This commit is contained in:
parent
eb024a3718
commit
79e69ee528
4 changed files with 5 additions and 5 deletions
|
@ -3,8 +3,8 @@
|
|||
namespace Friendica\Factory;
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\L10n\L10n;
|
||||
use Friendica\Core\Config\Cache\PConfigCache;
|
||||
use Friendica\Core\L10n\L10n;
|
||||
use Friendica\Factory;
|
||||
use Friendica\Util\BasePath;
|
||||
use Friendica\Util\BaseURL;
|
||||
|
@ -40,7 +40,7 @@ class DependencyFactory
|
|||
$logger = Factory\LoggerFactory::create($channel, $database, $config, $profiler);
|
||||
Factory\LoggerFactory::createDev($channel, $config, $profiler);
|
||||
$baseURL = new BaseURL($config, $_SERVER);
|
||||
$l10n = new L10n(L10n::detectLanguage($config->get('system', 'language', 'de')),
|
||||
$l10n = new L10n(L10n::detectLanguage($config->get('system', 'language')),
|
||||
$database,
|
||||
$logger);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue