projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f32e3
)
Mailer.php
author
Edward
<edward@roojs.com>
Mon, 15 Dec 2014 08:49:25 +0000
(16:49 +0800)
committer
Edward
<edward@roojs.com>
Mon, 15 Dec 2014 08:49:25 +0000
(16:49 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
50b1457
..
cd134d3
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-466,10
+466,13
@@
class Pman_Core_Mailer {
if (!file_exists(dirname($cache))) {
mkdir(dirname($cache),0700, true);
}
-
+ print_R($url);
+ echo "\n";
require_once 'HTTP/Request.php';
$a = new HTTP_Request($url);
$a->sendRequest();
+ print_R($a->getResponseBody());
+ echo "\n";
file_put_contents($cache .'.data', $a->getResponseBody());
$mt = $a->getResponseHeader('Content-Type');