Cleanup and optimization of the handling/loading of the dictionary files.

SVN:trunk[3978]
This commit is contained in:
Denis Flaven
2016-04-04 13:44:15 +00:00
parent b741532231
commit f3773f6047
7 changed files with 234 additions and 188 deletions

View File

@@ -473,6 +473,9 @@ class ApplicationInstaller
$oFactory = new ModelFactory($aDirsToScan);
$oDictModule = new MFDictModule('dictionaries', 'iTop Dictionaries', APPROOT.'dictionaries');
$oFactory->LoadModule($oDictModule);
$sDeltaFile = APPROOT.'core/datamodel.core.xml';
if (file_exists($sDeltaFile))
{