mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 16:48:42 +02:00
Proper reset of APC cache upon compilation !
SVN:trunk[2715]
This commit is contained in:
@@ -84,7 +84,7 @@ class RunTimeEnvironment
|
||||
if (!$bUseCache)
|
||||
{
|
||||
// Reset the cache for the first use !
|
||||
MetaModel::ResetCache($this->sTargetEnv);
|
||||
MetaModel::ResetCache(md5(APPROOT).'-'.$this->sTargetEnv);
|
||||
}
|
||||
|
||||
MetaModel::Startup($oConfig, $bModelOnly, $bUseCache);
|
||||
@@ -355,7 +355,7 @@ class RunTimeEnvironment
|
||||
$oMFCompiler->Compile($sTargetDir, null, $bUseSymLinks);
|
||||
|
||||
require_once(APPROOT.'/core/dict.class.inc.php');
|
||||
MetaModel::ResetCache($this->sTargetEnv);
|
||||
MetaModel::ResetCache(md5(APPROOT).'-'.$this->sTargetEnv);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user