diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-08-10 02:26:16 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-08-10 03:32:27 +0200 |
commit | e7e6d45789d4084b98a9c6227a42976e4a1d8f7f (patch) | |
tree | 9ede14c36b2bd9f9ee1ef0ac3b2b563ec4d0d4cf /phpBB/phpbb/template/twig/lexer.php | |
parent | Merge branch 'develop-ascraeus' into develop (diff) | |
download | phpbb-e7e6d45789d4084b98a9c6227a42976e4a1d8f7f.tar.gz phpbb-e7e6d45789d4084b98a9c6227a42976e4a1d8f7f.tar.bz2 phpbb-e7e6d45789d4084b98a9c6227a42976e4a1d8f7f.zip |
[ticket/12957] Update the constructions of the template engine
PHPBB3-12957
Diffstat (limited to 'phpBB/phpbb/template/twig/lexer.php')
-rw-r--r-- | phpBB/phpbb/template/twig/lexer.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/phpbb/template/twig/lexer.php b/phpBB/phpbb/template/twig/lexer.php index c5dc7273ba..a7848738bb 100644 --- a/phpBB/phpbb/template/twig/lexer.php +++ b/phpBB/phpbb/template/twig/lexer.php @@ -15,6 +15,11 @@ namespace phpbb\template\twig; class lexer extends \Twig_Lexer { + public function set_environment(\Twig_Environment $env) + { + $this->env = $env; + } + public function tokenize($code, $filename = null) { // Our phpBB tags |