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:
authorThomas Steur <thomas.steur@googlemail.com>2014-06-24 00:28:09 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-24 00:28:09 +0400
commita83037ce24271c387a72f5ea2c8dec0527bf3dd4 (patch)
tree0a38a896803a515c6e6e056bc5d35f688ca5baec /core/Plugin.php
parent1b830ab6925654cf645e4075f5efe1d9b1c1cee3 (diff)
should improve loading performance of menus, widgets, ...
Diffstat (limited to 'core/Plugin.php')
-rw-r--r--core/Plugin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Plugin.php b/core/Plugin.php
index a706469573..bc5eff1a2d 100644
--- a/core/Plugin.php
+++ b/core/Plugin.php
@@ -305,6 +305,8 @@ class Plugin
return;
}
+ require_once $componentFile;
+
$klassName = sprintf('Piwik\\Plugins\\%s\\%s', $this->pluginName, $componentName);
if (!class_exists($klassName)) {