Explorar el Código

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 hace 14 años
padre
commit
eba4a2b19e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
 	{
 		// Reset the cache for the first use !
-		$oConfig = new Config($sConfigFileName, false);
+		$oConfig = new Config($sConfigFileName, true /* Load Config */);
 		MetaModel::ResetCache($oConfig);
 	}