Mailer.php
authorEdward <edward@roojs.com>
Thu, 20 Feb 2014 11:22:25 +0000 (19:22 +0800)
committerEdward <edward@roojs.com>
Thu, 20 Feb 2014 11:22:25 +0000 (19:22 +0800)
Mailer.php

index 3a94034..dd5cfe0 100644 (file)
@@ -326,20 +326,15 @@ class Pman_Core_Mailer {
     }
     function fetchImage($url)
     {
-        print_r($url);exit;
+        
         if ($url[0] == '/') {
             $ff = HTML_FlexyFramework::get();
             $file = $ff->rootDir . $url;
-            print_r($file);
-            echo "<br/>";
             require_once 'File/MimeType.php';
             $m  = new File_MimeType();
             $mt = $m->fromFilename($file);
             $ext = $m->toExt($mt); 
-            print_r($mt);
-            echo "<br/>";
-            print_r($ext);
-            echo "<br/>";exit;
+            
             return array(
                     'mimetype' => $mt,
                    'ext' => $ext,