projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e137674
)
Mailer.php
author
Chris
<chris@roojs.com>
Thu, 4 Jul 2013 07:28:03 +0000
(15:28 +0800)
committer
Chris
<chris@roojs.com>
Thu, 4 Jul 2013 07:28:03 +0000
(15:28 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
eb5b45a
..
40f9772
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-237,7
+237,8
@@
class Pman_Core_Mailer {
{
if ($url[0] == '/') {
- $file = $this->page->rootDir . $url;
+ $ff = HTML_FlexyFramework::get();
+ $file = $ff->rootDir . $url;
require_once 'File/MimeType.php';
$m = new File_MimeType();
$mt = $m->fromFilename($file);