mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge remote branch 'bantu/ticket/10145' into develop-olympus
* bantu/ticket/10145: [ticket/10145] Always recompile all templates when DEBUG_EXTRA is defined.
This commit is contained in:
commit
850741ee16
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue