prettified stack trace

This commit is contained in:
tmont 2009-06-18 04:51:18 +00:00
parent 8fa895f943
commit 3f13a9bfd7

View File

@ -21,7 +21,9 @@
if ($frame['file'] === dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'test' . DIRECTORY_SEPARATOR . 'TestMethod.php') {
break;
}
$line .= $frame['file'] . ' (' . $frame['line'] . ') ';
$line .= $frame['file'] . ' (line ' . $frame['line'] . ') ';
$line .= "\n ";
}
if (isset($frame['class']) || isset($frame['function'])) {