[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
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
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