mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Environments: banner displaying a message if env is NOT 'production' + factorized some code to create/update a config from the page parameters
SVN:trunk[1774]
This commit is contained in:
@@ -1369,7 +1369,7 @@ function SetupFinished(SetupPage $oP, $aParamValues, $iCurrentStep, Config $oCon
|
||||
$oConfig->SetDBCollation('utf8_unicode_ci');
|
||||
|
||||
// Final config update: add the modules
|
||||
UpdateConfigSettings($oConfig, $aParamValues, $aParamValues['target_dir']);
|
||||
$oConfig->UpdateFromParams($aParamValues, $aParamValues['target_dir']);
|
||||
|
||||
// Make sure the root configuration directory exists
|
||||
if (!file_exists(APPCONF))
|
||||
@@ -1532,7 +1532,7 @@ else
|
||||
}
|
||||
|
||||
$oConfig = new Config();
|
||||
UpdateConfigSettings($oConfig, $aParamValues);
|
||||
$oConfig->UpdateFromParams($aParamValues);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user