mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/11388] Disable cache if IN_INSTALL defined
PHPBB3-11388
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user