diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-11 11:03:28 -0500 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-11 11:03:28 -0500 |
| commit | a846048918a0e54a01cfd8ea72bf383c354aac47 (patch) | |
| tree | dfdc21eeaf9eb709cdb93826e06003215035fb3d /phpBB/includes | |
| parent | bc4b5c87a9e899968a0f7af115fa1844348ddaac (diff) | |
| download | forums-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.php | 2 |
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, |
