mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[feature/twig] Forgot to set up $config in node/php.php
PHPBB3-11598
This commit is contained in:
@@ -28,6 +28,8 @@ class phpbb_template_twig_node_php extends Twig_Node
|
|||||||
{
|
{
|
||||||
$compiler->addDebugInfo($this);
|
$compiler->addDebugInfo($this);
|
||||||
|
|
||||||
|
$config = $this->environment->get_phpbb_config();
|
||||||
|
|
||||||
if (!$config['tpl_allow_php'])
|
if (!$config['tpl_allow_php'])
|
||||||
{
|
{
|
||||||
$compiler
|
$compiler
|
||||||
|
Reference in New Issue
Block a user