mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10057] Condition file/line display on DEBUG_EXTRA or IN_INSTALL.
PHPBB3-10057
This commit is contained in:
parent
98388b2921
commit
40468a5adc
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class phpbb_error_collector
|
|||
}
|
||||
list($errno, $msg_text, $errfile, $errline) = $error;
|
||||
$text .= "Errno $errno: $msg_text";
|
||||
if (defined('DEBUG'))
|
||||
if (defined('DEBUG_EXTRA') || defined('IN_INSTALL'))
|
||||
{
|
||||
$text .= " at $errfile line $errline";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue