aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-01 12:26:01 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-01 12:26:01 -0500
commit6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0 (patch)
tree5a8fa3f36e722c4c350640cef3e74a1f920b47f9 /phpBB/includes/template
parente9bbeeb1a4c7d1c4b1d35848ff58f31af4483d07 (diff)
downloadforums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.tar
forums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.tar.gz
forums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.tar.bz2
forums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.tar.xz
forums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.zip
[feature/twig] Changing INCLUDEJS behavior slightly
Automatically parsing inline variables the same way it is done for INCLUDE, INCLUDEPHP PHPBB3-11598
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r--phpBB/includes/template/twig/lexer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/template/twig/lexer.php b/phpBB/includes/template/twig/lexer.php
index 131cf654ef..d9cc6f60ce 100644
--- a/phpBB/includes/template/twig/lexer.php
+++ b/phpBB/includes/template/twig/lexer.php
@@ -44,6 +44,7 @@ class phpbb_template_twig_lexer extends Twig_Lexer
'DEFINE.+=',
'INCLUDE',
'INCLUDEPHP',
+ 'INCLUDEJS',
), $code);
// Fix our BEGIN statements