Skip to content

Commit a8e87dc

Browse files
committed
Merge branch 'release/v1.3.6'
2 parents 2c3bba7 + 1a2408c commit a8e87dc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CPanel.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ public function call($module, $function, $args = array())
174174
CURLOPT_HTTPHEADER => $headers,
175175
));
176176

177+
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
178+
177179
$curl_res = curl_exec($curl);
178180
$err = curl_error($curl);
179181
$err_no = curl_errno($curl);
@@ -191,6 +193,7 @@ public function call($module, $function, $args = array())
191193
'curl_response' => $curl_res,
192194
'curl_response_decoded' => $curl_response_decoded,
193195
'header_size' => $header_size,
196+
'headers' => $headers,
194197
'header' => $header,
195198
'body' => $body,
196199
'error' => $err,

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"keywords": ["laravel", "cpanel", "cpanel api", "cpanel uapi"],
55
"homepage": "https://www.webreinvent.com",
66
"license": "MIT",
7-
"version": "1.3.5",
7+
"version": "1.3.6",
88
"authors": [
99
{
1010
"name": "WebReinvent",

0 commit comments

Comments
 (0)