From b5e850b6df703a97f654f92cea9143754c3086b8 Mon Sep 17 00:00:00 2001 From: hubaishan Date: Fri, 18 Aug 2017 20:13:42 +0300 Subject: [ticket/15317] Fix phpbbcli language Updated as Nicofuma said PHPBB3-15317 --- phpBB/bin/phpbbcli.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php index 9d52305c5b..3061fee817 100755 --- a/phpBB/bin/phpbbcli.php +++ b/phpBB/bin/phpbbcli.php @@ -73,7 +73,7 @@ register_compatibility_globals(); /** @var \phpbb\language\language $language */ $language = $phpbb_container->get('language'); -$language->set_default_language($config['default_lang']); +$language->set_default_language($phpbb_container->get('config')['default_lang']); $language->add_lang(array('common', 'acp/common', 'cli')); /* @var $user \phpbb\user */ -- cgit v1.2.1