Browse Source

fix curl url

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

7
src/Client.php

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

Loading…
Cancel
Save