mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-14 14:18:44 +02:00
N°9144 - fix both UI setup wizard and CLI unattended + replace production by ITOP_DEFAULT_ENV
This commit is contained in:
@@ -60,8 +60,8 @@ class WizStepModulesChoice extends WizardStep
|
||||
$sConfigPath = null;
|
||||
if (($sPreviousSourceDir !== '') && is_readable($sPreviousSourceDir.'/conf/production/config-itop.php')) {
|
||||
$sConfigPath = $sPreviousSourceDir.'/conf/production/config-itop.php';
|
||||
} elseif (is_readable(utils::GetConfigFilePath('production'))) {
|
||||
$sConfigPath = utils::GetConfigFilePath('production');
|
||||
} elseif (is_readable(utils::GetConfigFilePath(ITOP_DEFAULT_ENV))) {
|
||||
$sConfigPath = utils::GetConfigFilePath(ITOP_DEFAULT_ENV);
|
||||
}
|
||||
|
||||
// only called if the config file exists : we are updating a previous installation !
|
||||
|
||||
Reference in New Issue
Block a user