diff options
Diffstat (limited to 'core/Twig.php')
-rwxr-xr-x | core/Twig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Twig.php b/core/Twig.php index 7fa19ef247..b0707350c4 100755 --- a/core/Twig.php +++ b/core/Twig.php @@ -44,7 +44,7 @@ class Twig $manager = Plugin\Manager::getInstance(); $theme = $manager->getThemeEnabled(); $loaders = array(); - + //create loader for custom theme to overwrite twig templates if($theme && $theme->getPluginName() != \Piwik\Plugin\Manager::DEFAULT_THEME) { $customLoader = $this->getCustomThemeLoader($theme); @@ -56,7 +56,7 @@ class Twig } $loaders[] = $loader; - + $chainLoader = new Twig_Loader_Chain($loaders); // Create new Twig Environment and set cache dir |