add clear
This commit is contained in:
@@ -311,6 +311,7 @@ class HttpClient
|
|||||||
if (!$this->checkIsIp($this->host)) {
|
if (!$this->checkIsIp($this->host)) {
|
||||||
$this->host = System::gethostbyname($this->host);
|
$this->host = System::gethostbyname($this->host);
|
||||||
}
|
}
|
||||||
|
var_dump($this->host, $string);
|
||||||
return $string;
|
return $string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -322,7 +323,6 @@ class HttpClient
|
|||||||
}
|
}
|
||||||
|
|
||||||
$hostAndUrls = explode('/', $string);
|
$hostAndUrls = explode('/', $string);
|
||||||
var_dump($hostAndUrls);
|
|
||||||
if (empty($hostAndUrls)) {
|
if (empty($hostAndUrls)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user