projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efed9d1
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 03:02:02 +0000
(11:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 03:02:02 +0000
(11:02 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
f9192e0
..
feb8876
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-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());