mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17100] Revert not needed twig changes
PHPBB3-17100
This commit is contained in:
parent
4b17de74a4
commit
11eeeae150
2 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue