mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[ticket/10057] Condition file/line display on DEBUG_EXTRA or IN_INSTALL.
PHPBB3-10057
This commit is contained in:
@@ -35,7 +35,7 @@ class phpbb_error_collector
|
|||||||
}
|
}
|
||||||
list($errno, $msg_text, $errfile, $errline) = $error;
|
list($errno, $msg_text, $errfile, $errline) = $error;
|
||||||
$text .= "Errno $errno: $msg_text";
|
$text .= "Errno $errno: $msg_text";
|
||||||
if (defined('DEBUG'))
|
if (defined('DEBUG_EXTRA') || defined('IN_INSTALL'))
|
||||||
{
|
{
|
||||||
$text .= " at $errfile line $errline";
|
$text .= " at $errfile line $errline";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user