aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/twig/twig.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-04 12:44:12 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-04 12:44:12 -0500
commit5f03321fac6ce888cb870e158c685bf839c25f07 (patch)
tree537c70d03baebc5faa35765029cc1df1f45c8c62 /phpBB/includes/template/twig/twig.php
parent35b628f737014eec0872ed7d0d140f11621af261 (diff)
downloadforums-5f03321fac6ce888cb870e158c685bf839c25f07.tar
forums-5f03321fac6ce888cb870e158c685bf839c25f07.tar.gz
forums-5f03321fac6ce888cb870e158c685bf839c25f07.tar.bz2
forums-5f03321fac6ce888cb870e158c685bf839c25f07.tar.xz
forums-5f03321fac6ce888cb870e158c685bf839c25f07.zip
[feature/twig] Support using Twig filters on {VAR}, add masks for Twig tags
Now we can do {L_TITLE|upper}, {SITENAME|lower}, etc We can also use all the Twig tags in our own syntax. E.g. <!-- BLOCK foo --> = {% block foo %]. All tags are the same as the Twig tag names, but are in uppercase. PHPBB3-11598
Diffstat (limited to 'phpBB/includes/template/twig/twig.php')
-rw-r--r--phpBB/includes/template/twig/twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template/twig/twig.php b/phpBB/includes/template/twig/twig.php
index 621bfe0f4f..47e346ad1e 100644
--- a/phpBB/includes/template/twig/twig.php
+++ b/phpBB/includes/template/twig/twig.php
@@ -132,7 +132,7 @@ class phpbb_template_twig implements phpbb_template
array(
'cache' => $this->cachepath,
'debug' => defined('DEBUG'),
- 'auto_reload' => (bool) $this->config['load_tplcompile'],
+ 'auto_reload' => true,//(bool) $this->config['load_tplcompile'],
'autoescape' => false,
)
);