1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12957] Update the constructions of the template engine

PHPBB3-12957
This commit is contained in:
Tristan Darricau
2014-08-10 02:26:16 +02:00
parent 59b5ab4866
commit e7e6d45789
5 changed files with 66 additions and 5 deletions

View File

@@ -79,6 +79,7 @@ class environment extends \Twig_Environment
if (null === $this->lexer)
{
$this->lexer = $this->container->get('template.twig.lexer');
$this->lexer->set_environment($this);
}
return $this->lexer;