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:
authormattab <matthieu.aubry@gmail.com>2014-02-10 06:04:28 +0400
committermattab <matthieu.aubry@gmail.com>2014-02-10 06:04:28 +0400
commit3f08274f5e03b31e62327784a30c96af413a38c9 (patch)
tree9d23ce2e34d73670d5163958bf1d34bbe59b0b99 /core/Twig.php
parent748386870806f73d1af927a711638ce4d2008bee (diff)
Enable loading templates from disabled plugins as well
Diffstat (limited to 'core/Twig.php')
-rw-r--r--core/Twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php
index c927e82e92..fd266d0b7b 100644
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -261,7 +261,7 @@ class Twig
private function addPluginNamespaces(Twig_Loader_Filesystem $loader)
{
- $plugins = \Piwik\Plugin\Manager::getInstance()->getLoadedPluginsName();
+ $plugins = \Piwik\Plugin\Manager::getInstance()->getAllPluginsNames();
foreach ($plugins as $name) {
$path = sprintf("%s/plugins/%s/templates/", PIWIK_INCLUDE_PATH, $name);
if (is_dir($path)) {