From f4417d01e65e10f64bf136dcffbdc06efdba6a79 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 20 Feb 2014 19:08:38 +0800 Subject: [PATCH] MailTemplateList.php --- MailTemplateList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MailTemplateList.php b/MailTemplateList.php index 4df56113..985aae71 100644 --- a/MailTemplateList.php +++ b/MailTemplateList.php @@ -11,7 +11,7 @@ class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle $templateDir = explode(PATH_SEPARATOR, $fopts['templateDir']); - $base = 'http://' . $_SERVER['SERVER_NAME'] . $this->rootURL; +// $base = 'http://' . $_SERVER['SERVER_NAME'] . $this->rootURL; // $path = '/home/edward/gitlive/web.madeinnz/Pman/Shop/templates/mail/orderShipment.body.html'; // @@ -37,7 +37,7 @@ class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle $ret[] = array( 'file' => $entry, - 'content' => $this->convertStyle($base, $path, false) + 'content' => $this->convertStyle('', $path, false) ); } -- 2.39.2