From 8c702a42e9f22f59a7137b0253bce8f6a0801697 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Thu, 21 Nov 2013 15:33:09 +0000 Subject: [PATCH] #827 Default language given at setup not taken into account (login page always in english) SVN:trunk[2976] --- setup/applicationinstaller.class.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/applicationinstaller.class.inc.php b/setup/applicationinstaller.class.inc.php index 99361f987..f57bf2132 100644 --- a/setup/applicationinstaller.class.inc.php +++ b/setup/applicationinstaller.class.inc.php @@ -522,6 +522,7 @@ class ApplicationInstaller $oConfig = new Config(); $aParamValues = array( + 'mode' => $sMode, 'db_server' => $sDBServer, 'db_user' => $sDBUser, 'db_pwd' => $sDBPwd, @@ -592,6 +593,7 @@ class ApplicationInstaller $oConfig = new Config(); $aParamValues = array( + 'mode' => $sMode, 'db_server' => $sDBServer, 'db_user' => $sDBUser, 'db_pwd' => $sDBPwd, @@ -851,6 +853,7 @@ class ApplicationInstaller protected static function DoCreateConfig($sMode, $sModulesDir, $sDBServer, $sDBUser, $sDBPwd, $sDBName, $sDBPrefix, $sUrl, $sLanguage, $aSelectedModules, $sTargetEnvironment, $bOldAddon, $sSourceDir, $sPreviousConfigFile, $sDataModelVersion) { $aParamValues = array( + 'mode' => $sMode, 'db_server' => $sDBServer, 'db_user' => $sDBUser, 'db_pwd' => $sDBPwd, @@ -859,7 +862,7 @@ class ApplicationInstaller 'db_prefix' => $sDBPrefix, 'application_path' => $sUrl, 'language' => $sLanguage, - 'selected_modules' => implode(',', $aSelectedModules), + 'selected_modules' => implode(',', $aSelectedModules), ); $bPreserveModuleSettings = false;