[ticket/11388] Disable cache if IN_INSTALL defined

PHPBB3-11388
This commit is contained in:
Nathaniel Guse 2013-07-11 11:03:28 -05:00
parent bc4b5c87a9
commit a846048918

View file

@ -130,7 +130,7 @@ class phpbb_template_twig implements phpbb_template
$this->phpbb_root_path, $this->phpbb_root_path,
$loader, $loader,
array( array(
'cache' => $this->cachepath, 'cache' => (defined('IN_INSTALL')) ? false : $this->cachepath,
'debug' => defined('DEBUG'), 'debug' => defined('DEBUG'),
'auto_reload' => (bool) $this->config['load_tplcompile'], 'auto_reload' => (bool) $this->config['load_tplcompile'],
'autoescape' => false, 'autoescape' => false,