Mailer.php
authorEdward <edward@roojs.com>
Mon, 15 Dec 2014 08:48:15 +0000 (16:48 +0800)
committerEdward <edward@roojs.com>
Mon, 15 Dec 2014 08:48:15 +0000 (16:48 +0800)
Mailer.php

index 02e4238..8601f71 100644 (file)
@@ -352,7 +352,6 @@ class Pman_Core_Mailer {
             
             
         }
-        print_R($this->images);exit;
         return $dom->saveHTML();
         
         
@@ -410,8 +409,6 @@ class Pman_Core_Mailer {
     
     function fetchImage($url)
     {
-        print_R($url);
-        echo "\n";
         if($this->debug) {
             echo "FETCH : $url\n";
         }
@@ -459,12 +456,9 @@ class Pman_Core_Mailer {
         // unix only...
         $uinfo = posix_getpwuid( posix_getuid () ); 
         $user = $uinfo['name']; 
-        print_R('run');
-        echo "\n";
+        
         $cache = ini_get('session.save_path')."/Pman_Core_Mailer-{$user}/" . md5($url);
         if (file_exists($cache) and filemtime($cache) > strtotime('NOW - 1 WEEK')) {
-            print_R('get');
-        echo "\n";
             $ret =  json_decode(file_get_contents($cache), true);
             $ret['file'] = $cache . '.data';
             return $ret;