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/FrontController.php')
-rw-r--r--core/FrontController.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index 40f8f38155..e43e79c25c 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -290,7 +290,12 @@ class FrontController extends Singleton
$this->throwIfPiwikVersionIsOlderThanDBSchema();
- \Piwik\Plugin\Manager::getInstance()->installLoadedPlugins();
+ if (empty($_GET['module'])
+ || empty($_GET['action'])
+ || $_GET['module'] !== 'Installation'
+ || !in_array($_GET['action'], array('getInstallationCss', 'getInstallationJs'))) {
+ \Piwik\Plugin\Manager::getInstance()->installLoadedPlugins();
+ }
// ensure the current Piwik URL is known for later use
if (method_exists('Piwik\SettingsPiwik', 'getPiwikUrl')) {