projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d85f1c7
)
Mailer.php
author
Edward
<edward@roojs.com>
Mon, 23 Jul 2018 11:05:29 +0000
(19:05 +0800)
committer
Edward
<edward@roojs.com>
Mon, 23 Jul 2018 11:05:29 +0000
(19:05 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
3588ee4
..
ef82bed
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-321,8
+321,14
@@
class Pman_Core_Mailer {
$pg = $ff->page;
+ $ts = microtime(true);
+
$email = is_array($email) ? $email : $this->toData();
+ $diff = microtime(true) - $ts;
+
+ print_r($diff);exit;
+
if (is_a($email, 'PEAR_Error')) {
$pg->addEvent("COREMAILER-FAIL", false, "email toData failed");