Skip to content

Commit cd54535

Browse files
committed
updated: disable SSL verification
1 parent 6346d39 commit cd54535

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CPanel.php

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

177+
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
177178
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
178179

179180
$curl_res = curl_exec($curl);

0 commit comments

Comments
 (0)