3
This commit is contained in:
@@ -401,11 +401,7 @@ class HttpClient
|
||||
if (!empty($this->port)) {
|
||||
$this->host .= ':' . $this->port;
|
||||
}
|
||||
if ($this->isSSL) {
|
||||
return $this->curl($this->host . '/' . $url, $data);
|
||||
} else {
|
||||
return $this->curl($this->host . '/' . $url, $data);
|
||||
}
|
||||
return $this->curl('http://' . $this->host . '/' . $url, $data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user