mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Code robustness: Though the commit [4922] solves the issue N.1052, it is safer to reset the cache as part of the "Commit" performed during the installation process.
SVN:trunk[4923]
This commit is contained in:
@@ -958,6 +958,8 @@ class RunTimeEnvironment
|
||||
$this->CommitFile($sTargetConfig, $sFinalConfig);
|
||||
@chmod($sFinalConfig, 0440); // Read-only for owner and group, nothing for others
|
||||
@rmdir(dirname($sTargetConfig)); // Cleanup the temporary build dir if empty
|
||||
|
||||
MetaModel::ResetCache(md5(APPROOT).'-'.$this->sFinalEnv);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user