Mailer.php
authorAlan Knowles <alan@roojs.com>
Tue, 22 Sep 2015 03:02:02 +0000 (11:02 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 22 Sep 2015 03:02:02 +0000 (11:02 +0800)
Mailer.php

index f9192e0..feb8876 100644 (file)
@@ -424,7 +424,7 @@ class Pman_Core_Mailer {
     
     function fetchImage($url)
     {
-        $url = $this->mapurl($url);
+        
         
         if($this->debug) {
             echo "FETCH : $url\n";
@@ -488,7 +488,7 @@ class Pman_Core_Mailer {
         }
         
         require_once 'HTTP/Request.php';
-        $a = new HTTP_Request($url);
+        $a = new HTTP_Request($this->mapurl($url));
         $a->sendRequest();
         file_put_contents($cache .'.data', $a->getResponseBody());