projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
49875bb
)
Mailer.php
author
Edward
<edward@roojs.com>
Mon, 23 Jul 2018 11:07:35 +0000
(19:07 +0800)
committer
Edward
<edward@roojs.com>
Mon, 23 Jul 2018 11:07:35 +0000
(19:07 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
63ba6b2
..
8536b4a
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-158,6
+158,7
@@
class Pman_Core_Mailer {
$htmlbody = false;
$html_tmp_opts = $tmp_opts;
$htmltemplate = new HTML_Template_Flexy( $html_tmp_opts );
$htmlbody = false;
$html_tmp_opts = $tmp_opts;
$htmltemplate = new HTML_Template_Flexy( $html_tmp_opts );
+
if (is_string($htmltemplate->resolvePath('mail/'.$templateFile.'.body.html')) ) {
// then we have a multi-part email...
if (!empty($this->html_locale)) {
if (is_string($htmltemplate->resolvePath('mail/'.$templateFile.'.body.html')) ) {
// then we have a multi-part email...
if (!empty($this->html_locale)) {
@@
-192,7
+193,9
@@
class Pman_Core_Mailer {
}
$tmp_opts['nonHTML'] = true;
}
$tmp_opts['nonHTML'] = true;
+ $diff = microtime(true) - $ts;
+ print_r($diff);exit;
//print_R($tmp_opts);
// $tmp_opts['force'] = true;
//print_R($tmp_opts);
// $tmp_opts['force'] = true;