mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12632] Add twig.debug and twig.auto_reload in config.yml
PHPBB3-13206 PHPBB3-12632
This commit is contained in:
committed by
Tristan Darricau
parent
6be8841a57
commit
f821130c3a
@@ -60,7 +60,7 @@ class environment extends \Twig_Environment
|
||||
|
||||
$options = array_merge(array(
|
||||
'cache' => (defined('IN_INSTALL')) ? false : $cache_path,
|
||||
'debug' => defined('DEBUG'),
|
||||
'debug' => false,
|
||||
'auto_reload' => (bool) $this->phpbb_config['load_tplcompile'],
|
||||
'autoescape' => false,
|
||||
), $options);
|
||||
|
Reference in New Issue
Block a user