From 4d5ef3cd68d334057f00fadc9e0b0e3bdc4bba04 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 19 Feb 2014 19:14:39 +0800 Subject: [PATCH] MailTemplateList.php --- MailTemplateList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MailTemplateList.php b/MailTemplateList.php index 29490707..4df56113 100644 --- a/MailTemplateList.php +++ b/MailTemplateList.php @@ -10,8 +10,8 @@ class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle $fopts = HTML_FlexyFramework::get()->HTML_Template_Flexy; $templateDir = explode(PATH_SEPARATOR, $fopts['templateDir']); - print_r($_SERVER['SERVER_NAME']);exit; - $base = 'http://' . $fopts['host'] . $this->rootURL; + + $base = 'http://' . $_SERVER['SERVER_NAME'] . $this->rootURL; // $path = '/home/edward/gitlive/web.madeinnz/Pman/Shop/templates/mail/orderShipment.body.html'; // -- 2.39.2