Browse Source

fix curl url

main
ghost 1 year ago
parent
commit
90c76cb33e
  1. 7
      src/Client.php

7
src/Client.php

@ -20,7 +20,12 @@ class Client @@ -20,7 +20,12 @@ class Client
string $password
)
{
$this->_url = $this->_protocol . '://' . $this->_host . ':' . $this->_port;
$this->_url = sprintf(
'%s://%s:%s',
$protocol,
$host,
$port
);
$this->_curl = curl_init();

Loading…
Cancel
Save