api/common/interface.func.php | ●●●●● patch | view | raw | blame | history |
api/common/interface.func.php
@@ -127,7 +127,9 @@ curl_setopt($con, CURLOPT_POST,true); curl_setopt($con, CURLOPT_RETURNTRANSFER,true); curl_setopt($con, CURLOPT_TIMEOUT,(int)$timeout); curl_setopt($con, CURLOPT_SSL_VERIFYPEER, false); if (strpos($url, 'https') !==false){ curl_setopt($con, CURLOPT_SSL_VERIFYPEER, false); } $data = curl_exec($con); if (curl_errno($con)) { return curl_error($con);