diff options
author | Jonathan Stanley <shs@users.sourceforge.net> | 2006-10-07 17:54:53 +0000 |
---|---|---|
committer | Jonathan Stanley <shs@users.sourceforge.net> | 2006-10-07 17:54:53 +0000 |
commit | 17f25374ad6b74c02cecaa16e809c051e3588233 (patch) | |
tree | bfb4daa623f71b3f370695cded5330ca6f6e7158 | |
parent | 485935e1f1a3a773260cda0b7ac3f3800dca990e (diff) | |
download | forums-17f25374ad6b74c02cecaa16e809c051e3588233.tar forums-17f25374ad6b74c02cecaa16e809c051e3588233.tar.gz forums-17f25374ad6b74c02cecaa16e809c051e3588233.tar.bz2 forums-17f25374ad6b74c02cecaa16e809c051e3588233.tar.xz forums-17f25374ad6b74c02cecaa16e809c051e3588233.zip |
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
-rwxr-xr-x | phpBB/install/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'], |