mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
Merge remote-tracking branch 'EXreaction/ticket/11189' into develop
* EXreaction/ticket/11189: [ticket/11189] Replace DEBUG_EXTRA with DEBUG [ticket/11189] Always log critical errors when in cron or in image output
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user