diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index d77517f2da..c2b099d48a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3387,7 +3387,12 @@ function add_log() } /** -* Return a nicely formatted backtrace (parts from the php manual by diz at ysagoon dot com) +* Return a nicely formatted backtrace. +* +* Turns the array returned by debug_backtrace() into HTML markup. +* Also filters out absolute paths to phpBB root. +* +* @return string HTML markup */ function get_backtrace() {