From e7c20b9af195b69a495fb91c77a394f6e4b7dc90 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 23 Jul 2018 19:07:35 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2