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:
Romain Quetiez
2017-09-20 14:45:45 +00:00
parent 40360da454
commit 048c1ecf72

View File

@@ -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);
}
}