@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | { |
| 13 | 13 | $this->connection_timeout = $connection_timeout; |
| 14 | 14 | $this->keep_alive = $keep_alive; |
| 15 | - $this->host = $host.'/v2/index.php'; |
|
| 15 | + $this->host = $host . '/v2/index.php'; |
|
| 16 | 16 | $this->curl = null; |
| 17 | 17 | } |
| 18 | 18 | |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | curl_setopt($this->curl, CURLOPT_POST, 1); |
| 56 | 56 | curl_setopt($this->curl, CURLOPT_POSTFIELDS, $req_inter->data); |
| 57 | 57 | } else { |
| 58 | - $url .= $req_inter->uri.'?'.$req_inter->data; |
|
| 58 | + $url .= $req_inter->uri . '?' . $req_inter->data; |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | if (isset($req_inter->header)) { |