mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Do not search for modules when its not needed
SVN:trunk[2246]
This commit is contained in:
@@ -961,7 +961,7 @@ EOF
|
||||
'db_prefix' => $oWizard->GetParameter('db_prefix', ''),
|
||||
'source_dir' => $sRelativeSourceDir,
|
||||
);
|
||||
$oConfig->UpdateFromParams($aParamValues, 'datamodel');
|
||||
$oConfig->UpdateFromParams($aParamValues, null);
|
||||
$aDirsToScan = array($sSourceDir);
|
||||
|
||||
if (is_dir($sSourceDir.'/extensions'))
|
||||
@@ -991,7 +991,7 @@ EOF
|
||||
'db_prefix' => $oWizard->GetParameter('db_prefix', ''),
|
||||
'source_dir' => '',
|
||||
);
|
||||
$oConfig->UpdateFromParams($aParamValues, 'datamodel');
|
||||
$oConfig->UpdateFromParams($aParamValues, null);
|
||||
|
||||
$oProductionEnv = new RunTimeEnvironment();
|
||||
return $oProductionEnv->GetApplicationVersion($oConfig);
|
||||
|
||||
Reference in New Issue
Block a user