Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Config.php b/core/Config.php
index 906bbb1652..7a24ca4038 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -11,6 +11,8 @@ namespace Piwik;
use Exception;
use Piwik\Application\Kernel\GlobalSettingsProvider;
+use Piwik\Config\Cache;
+use Piwik\Config\IniFileChain;
use Piwik\Container\StaticContainer;
use Piwik\Exception\MissingFilePermissionException;
use Piwik\ProfessionalServices\Advertising;
@@ -431,6 +433,8 @@ class Config
throw $this->getConfigNotWritableException();
}
+ $this->settings->getIniFileChain()->deleteConfigCache();
+
/**
* Triggered when a INI config file is changed on disk.
*