diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-10 10:45:02 -0600 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-10 10:45:02 -0600 |
| commit | bd37f7f6c04780819dfa8f81b2d761b91859fd67 (patch) | |
| tree | a4dc4bd1c1d7ba2e21e35ef57dee353defc7da9f /phpBB/includes/template/template.php | |
| parent | 7085a6c74d9bc5a4c5a92033977a89f56cce01e1 (diff) | |
| download | forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.gz forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.bz2 forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.xz forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.zip | |
[ticket/11189] Replace DEBUG_EXTRA with DEBUG
PHPBB3-11189
Diffstat (limited to 'phpBB/includes/template/template.php')
| -rw-r--r-- | phpBB/includes/template/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/template/template.php b/phpBB/includes/template/template.php index 5d3ce4c82b..367c02aa15 100644 --- a/phpBB/includes/template/template.php +++ b/phpBB/includes/template/template.php @@ -250,7 +250,7 @@ class phpbb_template * If template cache is writable the compiled php code will be stored * on filesystem and template will not be subsequently recompiled. * If template cache is not writable template source will be recompiled - * every time it is needed. DEBUG_EXTRA define and load_tplcompile + * every time it is needed. DEBUG define and load_tplcompile * configuration setting may be used to force templates to be always * recompiled. * @@ -268,7 +268,7 @@ class phpbb_template { $output_file = $this->_compiled_file_for_handle($handle); - $recompile = defined('DEBUG_EXTRA') || + $recompile = defined('DEBUG') || !file_exists($output_file) || @filesize($output_file) === 0; |
