aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-07-26 17:48:17 +0200
committerOleg Pudeyev <oleg@bsdpower.com>2011-12-24 01:14:25 -0500
commitd9fef488af150107b753b3c30e15ab5bf6d9da38 (patch)
tree3c4a9bfcb0619eb9b42e09928579e78d780ed1b9 /phpBB/includes/db
parent519db8e3b267c3f7135ba6bf30a25a4cc3e0a987 (diff)
downloadforums-d9fef488af150107b753b3c30e15ab5bf6d9da38.tar
forums-d9fef488af150107b753b3c30e15ab5bf6d9da38.tar.gz
forums-d9fef488af150107b753b3c30e15ab5bf6d9da38.tar.bz2
forums-d9fef488af150107b753b3c30e15ab5bf6d9da38.tar.xz
forums-d9fef488af150107b753b3c30e15ab5bf6d9da38.zip
[ticket/9079] Display backtrace on all E_USER_ERROR errors, not only SQL errors
PHPBB3-9079
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r--phpBB/includes/db/dbal.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php
index b4c1a72e1c..230c9c8ed7 100644
--- a/phpBB/includes/db/dbal.php
+++ b/phpBB/includes/db/dbal.php
@@ -662,12 +662,7 @@ class dbal
// The DEBUG_EXTRA constant is for development only!
if ((isset($auth) && $auth->acl_get('a_')) || defined('IN_INSTALL') || defined('DEBUG_EXTRA'))
{
- // Print out a nice backtrace...
- $backtrace = get_backtrace();
-
$message .= ($sql) ? '<br /><br />SQL<br /><br />' . htmlspecialchars($sql) : '';
- $message .= ($backtrace) ? '<br /><br />BACKTRACE<br />' . $backtrace : '';
- $message .= '<br />';
}
else
{