瀏覽代碼

Load the config before using it !

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1169 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 14 年之前
父節點
當前提交
eba4a2b19e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup/setuppage.class.inc.php

+ 1 - 1
setup/setuppage.class.inc.php

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