From 17f25374ad6b74c02cecaa16e809c051e3588233 Mon Sep 17 00:00:00 2001 From: Jonathan Stanley Date: Sat, 7 Oct 2006 17:54:53 +0000 Subject: [PATCH] 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 --- phpBB/install/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/install/index.php b/phpBB/install/index.php index e7dd4e2330..c0d5675e4d 100755 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -310,7 +310,7 @@ class module } define('HEADER_INC', true); - global $template, $lang, $stage, $phpbb_root_path; + global $template, $lang, $language, $stage, $phpbb_root_path; $template->assign_vars(array( 'L_CHANGE' => $lang['CHANGE'], @@ -319,6 +319,7 @@ class module 'PAGE_TITLE' => $this->get_page_title(), 'T_IMAGE_PATH' => $phpbb_root_path . 'adm/images/', + 'S_USER_LANG' => $language, 'S_CONTENT_DIRECTION' => $lang['DIRECTION'], 'S_CONTENT_ENCODING' => 'UTF-8', 'S_CONTENT_DIR_LEFT' => $lang['LEFT'],