Mailer.php
authorAlan Knowles <alan@roojs.com>
Wed, 22 Aug 2012 05:05:44 +0000 (13:05 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Aug 2012 05:05:44 +0000 (13:05 +0800)
Mailer.php

index e6d1f3f..574d9c5 100644 (file)
@@ -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
             );
             
         }