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

[ticket/17100] Revert not needed twig changes

PHPBB3-17100
This commit is contained in:
Marc Alexander
2023-04-29 13:54:52 +02:00
parent 4b17de74a4
commit 11eeeae150
2 changed files with 1 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ class environment extends \Twig\Environment
$options = array_merge(array(
'cache' => (defined('IN_INSTALL')) ? false : $cache_path,
'debug' => true,
'debug' => false,
'auto_reload' => (bool) $this->phpbb_config['load_tplcompile'],
'autoescape' => false,
), $options);

View File

@@ -90,7 +90,6 @@ class twig extends \phpbb\template\base
{
$this->twig->addExtension($extension);
}
$this->twig->addExtension(new \Twig\Extension\DebugExtension());
// Add admin namespace
if ($this->path_helper->get_adm_relative_path() !== null