mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-13 01:42:49 +02:00
Set S_USER_LANG for the installer, though requires review since phpBB3
mandates that the language pack directory is in xx/xx-YY/xx-yy format, as browsers choke with non-hyphenated formats, eg: xx_YY/xx_yy/xx@Zzzz. git-svn-id: file:///svn/phpbb/trunk@6460 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -310,7 +310,7 @@ class module
|
|||||||
}
|
}
|
||||||
|
|
||||||
define('HEADER_INC', true);
|
define('HEADER_INC', true);
|
||||||
global $template, $lang, $stage, $phpbb_root_path;
|
global $template, $lang, $language, $stage, $phpbb_root_path;
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'L_CHANGE' => $lang['CHANGE'],
|
'L_CHANGE' => $lang['CHANGE'],
|
||||||
@ -319,6 +319,7 @@ class module
|
|||||||
'PAGE_TITLE' => $this->get_page_title(),
|
'PAGE_TITLE' => $this->get_page_title(),
|
||||||
'T_IMAGE_PATH' => $phpbb_root_path . 'adm/images/',
|
'T_IMAGE_PATH' => $phpbb_root_path . 'adm/images/',
|
||||||
|
|
||||||
|
'S_USER_LANG' => $language,
|
||||||
'S_CONTENT_DIRECTION' => $lang['DIRECTION'],
|
'S_CONTENT_DIRECTION' => $lang['DIRECTION'],
|
||||||
'S_CONTENT_ENCODING' => 'UTF-8',
|
'S_CONTENT_ENCODING' => 'UTF-8',
|
||||||
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
|
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
|
||||||
|
Reference in New Issue
Block a user