Skip to content

Commit

Permalink
Merge branch 'release/v1.3.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
themodernpk committed Jun 17, 2022
2 parents 2c3bba7 + 1a2408c commit a8e87dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ public function call($module, $function, $args = array())
CURLOPT_HTTPHEADER => $headers,
));

curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);

$curl_res = curl_exec($curl);
$err = curl_error($curl);
$err_no = curl_errno($curl);
Expand All @@ -191,6 +193,7 @@ public function call($module, $function, $args = array())
'curl_response' => $curl_res,
'curl_response_decoded' => $curl_response_decoded,
'header_size' => $header_size,
'headers' => $headers,
'header' => $header,
'body' => $body,
'error' => $err,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"keywords": ["laravel", "cpanel", "cpanel api", "cpanel uapi"],
"homepage": "https://www.webreinvent.com",
"license": "MIT",
"version": "1.3.5",
"version": "1.3.6",
"authors": [
{
"name": "WebReinvent",
Expand Down

0 comments on commit a8e87dc

Please sign in to comment.