mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
N°2478 Fix install not working anymore when having no env-*
This commit is contained in:
@@ -727,7 +727,7 @@ class utils
|
||||
if (file_exists($sCurrentEnvConfigPath))
|
||||
{
|
||||
$oCurrentEnvDiskConfig = new Config($sCurrentEnvConfigPath);
|
||||
self::$oConfig = $oCurrentEnvDiskConfig;
|
||||
self::SetConfig($oCurrentEnvDiskConfig);
|
||||
return self::$oConfig;
|
||||
}
|
||||
|
||||
@@ -735,7 +735,7 @@ class utils
|
||||
if (file_exists($sProductionEnvConfigPath))
|
||||
{
|
||||
$oProductionEnvDiskConfig = new Config($sProductionEnvConfigPath);
|
||||
self::$oConfig = $oProductionEnvDiskConfig;
|
||||
self::SetConfig($oProductionEnvDiskConfig);
|
||||
return self::$oConfig;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user