diff options
author | Máté Bartus <CHItA@users.noreply.github.com> | 2017-09-07 14:32:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-07 14:32:27 +0200 |
commit | 6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f (patch) | |
tree | 201c9269dfb3ac0f2bfff9bd655cf24e0ef284a8 /phpBB | |
parent | 24d0b06466babba8d76673305ce90eec553d2b91 (diff) | |
parent | b5e850b6df703a97f654f92cea9143754c3086b8 (diff) | |
download | forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.tar forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.tar.gz forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.tar.bz2 forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.tar.xz forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.zip |
Merge pull request #4908 from hubaishan/ticket/15317
[ticket/15317] Fix phpbbcli language
Diffstat (limited to 'phpBB')
-rwxr-xr-x | phpBB/bin/phpbbcli.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php index 6bd217ec07..3061fee817 100755 --- a/phpBB/bin/phpbbcli.php +++ b/phpBB/bin/phpbbcli.php @@ -73,6 +73,7 @@ register_compatibility_globals(); /** @var \phpbb\language\language $language */ $language = $phpbb_container->get('language'); +$language->set_default_language($phpbb_container->get('config')['default_lang']); $language->add_lang(array('common', 'acp/common', 'cli')); /* @var $user \phpbb\user */ |