改名
This commit is contained in:
@@ -82,10 +82,8 @@ class Client extends ClientAbstracts
|
|||||||
if ($isHttps || $this->isSSL()) {
|
if ($isHttps || $this->isSSL()) {
|
||||||
$client = new SClient($host, 443, true);
|
$client = new SClient($host, 443, true);
|
||||||
} else {
|
} else {
|
||||||
var_dump($host, $this->getPort());
|
|
||||||
$client = new SClient($host, $this->getPort(), false);
|
$client = new SClient($host, $this->getPort(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strpos($path, '/') !== 0) {
|
if (strpos($path, '/') !== 0) {
|
||||||
$path = '/' . $path;
|
$path = '/' . $path;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user