projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7cc677
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Wed, 22 Aug 2012 05:05:44 +0000
(13:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 22 Aug 2012 05:05:44 +0000
(13:05 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
e6d1f3f
..
574d9c5
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-218,9
+218,10
@@
class Pman_Core_Mailer {
$ext = $m->toExt($mt);
return array(
- // 'mimetype' =>
- // 'ext' =>
- // 'contentid'
+ 'mimetype' => $mt,
+ 'ext' => $ext,
+ 'contentid' => md5($file),
+ 'file' => $file
);
}