From 5c1782a605db8b53cd432a97bbb790fe11dba5c9 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 3 Feb 2020 20:21:16 +0100 Subject: [PATCH] [ticket/16354] Remove backtrace as it does not show meaningful info PHPBB3-16354 --- phpBB/install/startup.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/phpBB/install/startup.php b/phpBB/install/startup.php index be5a0fc223..dfead2ab38 100644 --- a/phpBB/install/startup.php +++ b/phpBB/install/startup.php @@ -85,13 +85,7 @@ function installer_msg_handler($errno, $msg_text, $errfile, $errline) return; break; case E_USER_ERROR: - $msg = 'General Error:
' . $msg_text . '
in file ' . $errfile . ' on line ' . $errline; - - $backtrace = get_backtrace(); - if ($backtrace) - { - $msg .= '

BACKTRACE
' . $backtrace; - } + $msg = 'General Error:
' . $msg_text . '
in file ' . $errfile . ' on line ' . $errline . '

'; throw new \phpbb\exception\runtime_exception($msg); break;