mirror of
https://github.com/Combodo/iTop.git
synced 2026-07-16 19:56:38 +02:00
N°9454 - Make MTT compatible with the dry run
This commit is contained in:
@@ -104,7 +104,7 @@ JS);
|
||||
$aParams = [
|
||||
'selected_modules' => '[]',
|
||||
'selected_extensions' => '[]',
|
||||
'display_choices' => '[]',
|
||||
'display_choices' => '',
|
||||
'added_extensions' => '[]',
|
||||
'removed_extensions' => '[]',
|
||||
'extensions_not_uninstallable' => '[]',
|
||||
|
||||
@@ -42,7 +42,8 @@ class WizStepLandingBeforeAudit extends WizStepModulesChoice
|
||||
*/
|
||||
public function UpdateWizardStateAndGetNextStep($bMoveForward = true): WizardState
|
||||
{
|
||||
$sBuildConfigFile = APPCONF.$this->oRuntimeEnv->GetBuildEnv().'/'.ITOP_CONFIG_FILE;
|
||||
// Change the rights to production config file !
|
||||
$sBuildConfigFile = APPCONF.ITOP_DEFAULT_ENV.'/'.ITOP_CONFIG_FILE;
|
||||
@chmod($sBuildConfigFile, 0770); // In case it exists: RWX for owner and group, nothing for others
|
||||
|
||||
$oConfig = new Config($sBuildConfigFile);
|
||||
|
||||
Reference in New Issue
Block a user