From 048c1ecf72a3c5a7cd6ea70a4b383de26e7bc448 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Wed, 20 Sep 2017 14:45:45 +0000 Subject: [PATCH] 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] --- setup/runtimeenv.class.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/runtimeenv.class.inc.php b/setup/runtimeenv.class.inc.php index 23b477cea..3e18f3cdd 100644 --- a/setup/runtimeenv.class.inc.php +++ b/setup/runtimeenv.class.inc.php @@ -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); } }