diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-06-25 20:52:04 -0500 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-06-25 20:52:04 -0500 |
| commit | 040186418aa15d1de4a99b81cf05ee74ef94e042 (patch) | |
| tree | a50be851cdcee5ef3a1692b6c6c2309ab1efd4a3 | |
| parent | 6c771a38ded92135b9264e142cc27d7e5770eda1 (diff) | |
| download | forums-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.php | 2 |
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 |
