mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:38:52 +00:00
[feature/twig] Forgot to set up $config in node/php.php
PHPBB3-11598
This commit is contained in:
parent
6c771a38de
commit
040186418a
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ class phpbb_template_twig_node_php extends Twig_Node
|
|||
{
|
||||
$compiler->addDebugInfo($this);
|
||||
|
||||
$config = $this->environment->get_phpbb_config();
|
||||
|
||||
if (!$config['tpl_allow_php'])
|
||||
{
|
||||
$compiler
|
||||
|
|
Loading…
Add table
Reference in a new issue