projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b2dc0
)
Pman.php
author
Edward
<edward@roojs.com>
Thu, 9 Aug 2018 06:48:47 +0000
(14:48 +0800)
committer
Edward
<edward@roojs.com>
Thu, 9 Aug 2018 06:48:47 +0000
(14:48 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
c1bae74
..
b964abc
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-449,7
+449,12
@@
class Pman extends HTML_FlexyFramework_Page
function jerror($type, $str, $errors=array(), $content_type = false) // standard error reporting..
{
if ($type !== false) {
+
$this->addEvent($type, false, $str);
+
+ if(!empty($errors)){
+ DB_DataObject::factory('Events')->writeEventLogExtra($errors);
+ }
}
$cli = HTML_FlexyFramework::get()->cli;