aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-11 11:03:28 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-11 11:03:28 -0500
commita846048918a0e54a01cfd8ea72bf383c354aac47 (patch)
treedfdc21eeaf9eb709cdb93826e06003215035fb3d /phpBB/includes
parentbc4b5c87a9e899968a0f7af115fa1844348ddaac (diff)
downloadforums-a846048918a0e54a01cfd8ea72bf383c354aac47.tar
forums-a846048918a0e54a01cfd8ea72bf383c354aac47.tar.gz
forums-a846048918a0e54a01cfd8ea72bf383c354aac47.tar.bz2
forums-a846048918a0e54a01cfd8ea72bf383c354aac47.tar.xz
forums-a846048918a0e54a01cfd8ea72bf383c354aac47.zip
[ticket/11388] Disable cache if IN_INSTALL defined
PHPBB3-11388
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/template/twig/twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template/twig/twig.php b/phpBB/includes/template/twig/twig.php
index ae50124f5c..d5c12dc713 100644
--- a/phpBB/includes/template/twig/twig.php
+++ b/phpBB/includes/template/twig/twig.php
@@ -130,7 +130,7 @@ class phpbb_template_twig implements phpbb_template
$this->phpbb_root_path,
$loader,
array(
- 'cache' => $this->cachepath,
+ 'cache' => (defined('IN_INSTALL')) ? false : $this->cachepath,
'debug' => defined('DEBUG'),
'auto_reload' => (bool) $this->config['load_tplcompile'],
'autoescape' => false,