add clear
This commit is contained in:
@@ -339,6 +339,7 @@ class HttpClient
|
|||||||
{
|
{
|
||||||
$url = $this->replaceHost($url);
|
$url = $this->replaceHost($url);
|
||||||
$explode = explode('/', $url);
|
$explode = explode('/', $url);
|
||||||
|
var_dump($explode);
|
||||||
$first = array_shift($explode);
|
$first = array_shift($explode);
|
||||||
if (strpos($first, ':') !== false) {
|
if (strpos($first, ':') !== false) {
|
||||||
[$first, $this->port] = explode(':', $first);
|
[$first, $this->port] = explode(':', $first);
|
||||||
|
|||||||
Reference in New Issue
Block a user