projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b75e911
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Wed, 15 Aug 2018 03:01:11 +0000
(11:01 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 15 Aug 2018 03:01:11 +0000
(11:01 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
dec4c91
..
a10831b
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-997,7
+997,7
@@
class Pman extends HTML_FlexyFramework_Page
//print_R($bt); exit;
$ret = array();
$n = 0;
- $bt = is_a($ex,'Exception') ? $ex->getTrace() : $ex->backtrace;
+ $bt = is_a($ex,'Exception')
|| is_a($ex, 'Error')
? $ex->getTrace() : $ex->backtrace;
foreach( $bt as $b) {
$ret[] = @$b['file'] . '(' . @$b['line'] . ')@' . @$b['class'] . '::' . @$b['function'];
if ($n > 20) {