(Retrofit from trunk) 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:2.4[4925]
This commit is contained in:
Romain Quetiez
2017-09-20 14:53:41 +00:00
parent c110206264
commit 7edc79f398

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