projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4db2d0
)
NotifySend.php
author
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 02:53:05 +0000
(10:53 +0800)
committer
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 02:53:05 +0000
(10:53 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
afc09bf
..
d406a7a
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-537,10
+537,12
@@
class Pman_Core_NotifySend extends Pman
function errorHandler($msg)
{
- if(
empty($this->referer
)){
-
die
($msg);
+ if(
$error_handler == 'exception'
)){
+
throw new Exception
($msg);
}
- throw new Exception($msg);
+ die($msg);
+
+
}
}
\ No newline at end of file