add clear
This commit is contained in:
@@ -255,6 +255,9 @@ class HttpClient
|
||||
}
|
||||
|
||||
$url = '/' . implode('/', $explode);
|
||||
if (!empty($this->host)) {
|
||||
return $this->host;
|
||||
}
|
||||
|
||||
if (preg_match('/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/', $first)) {
|
||||
return $first;
|
||||
|
||||
Reference in New Issue
Block a user