Deduplicate the api-url

This commit is contained in:
Mark Schouten 2017-04-20 11:45:33 +02:00
parent 6fbd049941
commit 4d4e536d52

View file

@ -91,6 +91,7 @@ class ApiHandler {
break;
}
$this->url = str_replace($this->apiurl, '', $this->url);
curl_setopt($this->curlh, CURLOPT_URL, $this->baseurl().$this->url);
//print "Here we go:\n";