diff options
author | hubaishan <saeed@hubaishan.com> | 2017-08-17 21:24:39 +0300 |
---|---|---|
committer | hubaishan <saeed@hubaishan.com> | 2017-08-17 21:29:01 +0300 |
commit | ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6 (patch) | |
tree | 61816e91fdc1399804366747e504654f94e5ac62 /phpBB/bin | |
parent | 442d21ace2b5d33e328917d7e7ac536709ba4d5c (diff) | |
download | forums-ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6.tar forums-ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6.tar.gz forums-ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6.tar.bz2 forums-ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6.tar.xz forums-ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6.zip |
[ticket/15317] Fix phpbbcli language
Fix language by adding set_default_language
PHPBB3-15317
Diffstat (limited to 'phpBB/bin')
-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..9d52305c5b 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($config['default_lang']); $language->add_lang(array('common', 'acp/common', 'cli')); /* @var $user \phpbb\user */ |