1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[feature/twig] Changing INCLUDEJS behavior slightly

Automatically parsing inline variables the same way it is done for
INCLUDE, INCLUDEPHP

PHPBB3-11598
This commit is contained in:
Nathaniel Guse
2013-07-01 12:26:01 -05:00
parent e9bbeeb1a4
commit 6c30441ad4
10 changed files with 15 additions and 14 deletions

View File

@@ -44,6 +44,7 @@ class phpbb_template_twig_lexer extends Twig_Lexer
'DEFINE.+=',
'INCLUDE',
'INCLUDEPHP',
'INCLUDEJS',
), $code);
// Fix our BEGIN statements