$real_url = str_replace(' ', '%20', $this->mapurl($url));
$a = new HTTP_Request($real_url);
- $a->addQueryString('is_email', 1);
$a->sendRequest();
$data = $a->getResponseBody();
function mapurl($in)
{
-
- foreach($this->urlmap as $o=>$n) {
+ foreach($this->urlmap as $o=>$n) {
if (strpos($in,$o) === 0) {
$ret =$n . substr($in,strlen($o));
$this->log("mapURL in $in = $ret");