From: Edward Date: Wed, 19 Feb 2014 11:14:39 +0000 (+0800) Subject: MailTemplateList.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=4d5ef3cd68d334057f00fadc9e0b0e3bdc4bba04 MailTemplateList.php --- 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'; //