diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-02-10 06:04:28 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-02-10 06:04:28 +0400 |
commit | 3f08274f5e03b31e62327784a30c96af413a38c9 (patch) | |
tree | 9d23ce2e34d73670d5163958bf1d34bbe59b0b99 /core/Twig.php | |
parent | 748386870806f73d1af927a711638ce4d2008bee (diff) |
Enable loading templates from disabled plugins as well
Diffstat (limited to 'core/Twig.php')
-rw-r--r-- | core/Twig.php | 2 |
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)) { |