projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
24cf61a
)
MailTemplateList.php
author
Edward
<edward@roojs.com>
Thu, 20 Feb 2014 11:13:46 +0000
(19:13 +0800)
committer
Edward
<edward@roojs.com>
Thu, 20 Feb 2014 11:13:46 +0000
(19:13 +0800)
MailTemplateList.php
patch
|
blob
|
history
diff --git
a/MailTemplateList.php
b/MailTemplateList.php
index
cbdfb5b
..
4df5611
100644
(file)
--- a/
MailTemplateList.php
+++ b/
MailTemplateList.php
@@
-11,7
+11,7
@@
class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle
$templateDir = explode(PATH_SEPARATOR, $fopts['templateDir']);
$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';
//
// $path = '/home/edward/gitlive/web.madeinnz/Pman/Shop/templates/mail/orderShipment.body.html';
//
@@
-33,11
+33,11
@@
class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle
continue;
}
continue;
}
- $
file
= "$dir/mail/$entry";
+ $
path
= "$dir/mail/$entry";
$ret[] = array(
'file' => $entry,
$ret[] = array(
'file' => $entry,
- 'content' => $this->convertStyle(
'', $file
, false)
+ 'content' => $this->convertStyle(
$base, $path
, false)
);
}
);
}