mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
Modules: added a mean to cache data that will be reset upon compilation. To be used in conjunction with ModuleDesign.
SVN:trunk[3877]
This commit is contained in:
@@ -424,7 +424,11 @@ class RunTimeEnvironment
|
||||
self::MakeDirSafe($sTargetDir);
|
||||
$oMFCompiler = new MFCompiler($oFactory);
|
||||
$oMFCompiler->Compile($sTargetDir, null, $bUseSymLinks);
|
||||
|
||||
|
||||
$sCacheDir = APPROOT.'data/cache-'.$this->sTargetEnv;
|
||||
Setuputils::builddir($sCacheDir);
|
||||
Setuputils::tidydir($sCacheDir);
|
||||
|
||||
require_once(APPROOT.'/core/dict.class.inc.php');
|
||||
MetaModel::ResetCache(md5(APPROOT).'-'.$this->sTargetEnv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user