aboutsummaryrefslogtreecommitdiff
path: root/phpBB/bin
diff options
context:
space:
mode:
authorhubaishan <saeed@hubaishan.com>2017-08-17 21:24:39 +0300
committerhubaishan <saeed@hubaishan.com>2017-08-17 21:29:01 +0300
commitce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6 (patch)
tree61816e91fdc1399804366747e504654f94e5ac62 /phpBB/bin
parentMerge branch '3.1.x' into 3.2.x (diff)
downloadphpbb-ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6.tar.gz
phpbb-ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6.tar.bz2
phpbb-ce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6.zip
[ticket/15317] Fix phpbbcli language
Fix language by adding set_default_language PHPBB3-15317
Diffstat (limited to 'phpBB/bin')
-rwxr-xr-xphpBB/bin/phpbbcli.php1
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 */