From: Edward Date: Mon, 23 Jul 2018 11:07:35 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e7c20b9af195b69a495fb91c77a394f6e4b7dc90 Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 63ba6b26..8536b4af 100644 --- 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 ); + 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; + $diff = microtime(true) - $ts; + print_r($diff);exit; //print_R($tmp_opts); // $tmp_opts['force'] = true;