diff --git a/app/common.php b/app/common.php index 8ca43d0cf..6f93d0a44 100755 --- a/app/common.php +++ b/app/common.php @@ -197,6 +197,8 @@ function GetHttpCode($url, $timeout = 5) curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_NOBODY, true); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_exec($ch); $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);