diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-04-26 12:33:15 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-04-26 12:35:44 +0200 |
commit | a3a70e13b5a9e8eaef2bbf7dabe64398b5d10455 (patch) | |
tree | dba6734a767d12fbe73876a7008b462037e95974 | |
parent | 8a97722464c1aa99f56c71abebc68b9565fdd29d (diff) | |
download | forums-a3a70e13b5a9e8eaef2bbf7dabe64398b5d10455.tar forums-a3a70e13b5a9e8eaef2bbf7dabe64398b5d10455.tar.gz forums-a3a70e13b5a9e8eaef2bbf7dabe64398b5d10455.tar.bz2 forums-a3a70e13b5a9e8eaef2bbf7dabe64398b5d10455.tar.xz forums-a3a70e13b5a9e8eaef2bbf7dabe64398b5d10455.zip |
[ticket/10145] Always recompile all templates when DEBUG_EXTRA is defined.
PHPBB3-10145
-rw-r--r-- | phpBB/includes/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 6347633b14..9ac395344f 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -276,7 +276,7 @@ class template $this->files_template[$handle] = (isset($user->theme['template_id'])) ? $user->theme['template_id'] : 0; $recompile = false; - if (!file_exists($filename) || @filesize($filename) === 0) + if (!file_exists($filename) || @filesize($filename) === 0 || defined('DEBUG_EXTRA')) { $recompile = true; } |