aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-06-25 20:52:04 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-06-25 20:52:04 -0500
commit040186418aa15d1de4a99b81cf05ee74ef94e042 (patch)
treea50be851cdcee5ef3a1692b6c6c2309ab1efd4a3
parent6c771a38ded92135b9264e142cc27d7e5770eda1 (diff)
downloadforums-040186418aa15d1de4a99b81cf05ee74ef94e042.tar
forums-040186418aa15d1de4a99b81cf05ee74ef94e042.tar.gz
forums-040186418aa15d1de4a99b81cf05ee74ef94e042.tar.bz2
forums-040186418aa15d1de4a99b81cf05ee74ef94e042.tar.xz
forums-040186418aa15d1de4a99b81cf05ee74ef94e042.zip
[feature/twig] Forgot to set up $config in node/php.php
PHPBB3-11598
-rw-r--r--phpBB/includes/template/twig/node/php.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/template/twig/node/php.php b/phpBB/includes/template/twig/node/php.php
index 83481b1d69..953cd184a7 100644
--- a/phpBB/includes/template/twig/node/php.php
+++ b/phpBB/includes/template/twig/node/php.php
@@ -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