|
|
@@ -521,6 +521,7 @@ class Route_Debug extends RouteBase {
|
|
|
$trace = htmlspecialchars($dbg['trace']);
|
|
|
$trace = str_replace("\n", "\n<br>", $trace);
|
|
|
if ('#' === substr($trace, 0, 1)) $trace = "<br>{$trace}";
|
|
|
+ $trace = preg_replace('/<br>#(\d+\W+)([a-zA-Z0-9-_:\.\/]*)\((\d+)\):/', '<br>#${1}${2}:${3}:', $trace);
|
|
|
$trace = preg_replace('/<br>#(\d+\W+)([a-zA-Z0-9-_:\.\/]*):/', '#${1}<a href="http://localhost:9876/?project=se&file=${2}" target="_blank">${2}</a>:', $trace);
|
|
|
$trace = str_replace("\n<br>", "\n", $trace);
|
|
|
return [
|