projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c61a9
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 03:21:25 +0000
(11:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 03:21:25 +0000
(11:21 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
cd18021
..
c704c4b
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-537,8
+537,9
@@
class Pman_Core_Mailer {
if (!$this->debug < 1) {
return;
}
- if ($
$
this->debug < 2) {
+ if ($this->debug < 2) {
echo '<PRE>' . $val. "\n";
+ return;
}
$fh = fopen('/tmp/core_mailer.log', 'a');
fwrite($fh, date('Y-m-d H:i:s -') . json_encode($val) . "\n");