Load the config before using it !

SVN:trunk[1169]
This commit is contained in:
Denis Flaven
2011-04-04 10:18:03 +00:00
parent 3a0be981d6
commit 9e2c556805

View File

@@ -424,7 +424,7 @@ function InitDataModel($sConfigFileName, $bModelOnly = true, $bUseCache = false)
if ($bUseCache)
{
// Reset the cache for the first use !
$oConfig = new Config($sConfigFileName, false);
$oConfig = new Config($sConfigFileName, true /* Load Config */);
MetaModel::ResetCache($oConfig);
}