summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index e3e06323a..f9a9b66ce 100644
--- a/index.php
+++ b/index.php
@@ -303,7 +303,8 @@ function _actual_exception_handler($ex)
if (method_exists($e, "get_data") && $e->get_data() !== NULL) {
$message .= '<b>Data</b>: <pre>'.htmlspecialchars(var_export($e->get_data(), true)).'</pre><br>';
}
- $message .= '<b>Backtrace:</b> <pre>'.htmlspecialchars(str_replace(FCPATH, "./", $backtrace)).'</pre>';
+ $message .= '<b>Backtrace:</b><br>';
+ $message .= '<pre>'.htmlspecialchars(str_replace(FCPATH, "./", $backtrace)).'</pre>';
$message .= 'thrown in <b>'.htmlspecialchars($e->getFile()).'</b> on line <b>'.htmlspecialchars($e->getLine()).'</b><br>';
$message .= '</div>';
}