Add call to setUrl in single requests

This commit is contained in:
Mattéo D
2014-08-31 16:00:42 +02:00
parent 40abd6b1ac
commit 2f9bc2e4c4
+1
View File
@@ -101,6 +101,7 @@ class Curl
$this->exec($ch);
}
} else {
$this->setUrl($url_mixed);
$this->setopt(CURLOPT_URL, $this->buildURL($url_mixed, $data));
$this->setOpt(CURLOPT_CUSTOMREQUEST, 'GET');
$this->setopt(CURLOPT_HTTPGET, true);