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>2013-07-01 06:26:53 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-01 06:26:53 +0400
commit00ef553551ca915783316854cd502a1204b4ce16 (patch)
tree000afae37b84ae430e48779e50b2dc5dc1d09b35 /core/Twig.php
parent1510f999f933932c21213269f7fbca6e460d4f5d (diff)
* Enabling templates compiled cache. @halfdan, was there any reason it was disabled?
Refs #4019
Diffstat (limited to 'core/Twig.php')
-rw-r--r--core/Twig.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Twig.php b/core/Twig.php
index 43de66bcbe..1fa62c72dc 100644
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -42,7 +42,7 @@ class Piwik_Twig
array(
'debug' => true, // to use {{ dump(var) }} in twig templates
'strict_variables' => true, // throw an exception if variables are invalid
- //'cache' => PIWIK_DOCUMENT_ROOT . '/tmp/templates_c',
+ 'cache' => PIWIK_DOCUMENT_ROOT . '/tmp/templates_c',
)
);
$this->twig->addExtension(new Twig_Extension_Debug());
@@ -53,7 +53,6 @@ class Piwik_Twig
$this->addFilter_sumTime();
$this->addFilter_money();
$this->addFilter_truncate();
-
$this->twig->addFilter( new Twig_SimpleFilter('implode', 'implode'));
$this->addFunction_includeAssets();