1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 13:44:12 +02:00

Merge pull request #3591 from Nicofuma/ticket/12632

[ticket/12632] Add twig.debug and twig.auto_reload in config.yml
This commit is contained in:
Oliver Schramm
2015-05-16 00:30:19 +02:00
7 changed files with 42 additions and 1 deletions

View File

@@ -65,7 +65,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);