add clear

This commit is contained in:
2020-09-24 11:42:16 +08:00
parent 03df0bfa4e
commit 465e48ffe4
+1 -1
View File
@@ -320,7 +320,7 @@ class HttpClient
if (!empty($this->host)) { if (!empty($this->host)) {
return $string; return $string;
} }
var_dump($this->host,$string);
if ($this->isHttp($string)) { if ($this->isHttp($string)) {
$string = str_replace('http://', '', $string); $string = str_replace('http://', '', $string);
$hostAndUrls = explode('/', $string); $hostAndUrls = explode('/', $string);