diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-24 00:28:09 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-24 00:28:09 +0400 |
commit | a83037ce24271c387a72f5ea2c8dec0527bf3dd4 (patch) | |
tree | 0a38a896803a515c6e6e056bc5d35f688ca5baec /core/Plugin.php | |
parent | 1b830ab6925654cf645e4075f5efe1d9b1c1cee3 (diff) |
should improve loading performance of menus, widgets, ...
Diffstat (limited to 'core/Plugin.php')
-rw-r--r-- | core/Plugin.php | 2 |
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)) { |