1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11189] Replace DEBUG_EXTRA with DEBUG

PHPBB3-11189
This commit is contained in:
Nathaniel Guse
2012-11-10 10:45:02 -06:00
parent 7085a6c74d
commit bd37f7f6c0
20 changed files with 51 additions and 53 deletions

View File

@@ -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;