mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[ticket/17100] Revert not needed twig changes
PHPBB3-17100
This commit is contained in:
@@ -75,7 +75,7 @@ class environment extends \Twig\Environment
|
|||||||
|
|
||||||
$options = array_merge(array(
|
$options = array_merge(array(
|
||||||
'cache' => (defined('IN_INSTALL')) ? false : $cache_path,
|
'cache' => (defined('IN_INSTALL')) ? false : $cache_path,
|
||||||
'debug' => true,
|
'debug' => false,
|
||||||
'auto_reload' => (bool) $this->phpbb_config['load_tplcompile'],
|
'auto_reload' => (bool) $this->phpbb_config['load_tplcompile'],
|
||||||
'autoescape' => false,
|
'autoescape' => false,
|
||||||
), $options);
|
), $options);
|
||||||
|
@@ -90,7 +90,6 @@ class twig extends \phpbb\template\base
|
|||||||
{
|
{
|
||||||
$this->twig->addExtension($extension);
|
$this->twig->addExtension($extension);
|
||||||
}
|
}
|
||||||
$this->twig->addExtension(new \Twig\Extension\DebugExtension());
|
|
||||||
|
|
||||||
// Add admin namespace
|
// Add admin namespace
|
||||||
if ($this->path_helper->get_adm_relative_path() !== null
|
if ($this->path_helper->get_adm_relative_path() !== null
|
||||||
|
Reference in New Issue
Block a user