修改ssl

This commit is contained in:
jie Ago 2022-11-06 00:28:13 +08:00
parent 5c4b40f00a
commit 5cf3216c6b

View File

@ -180,7 +180,7 @@ function sc_send( $text , $desp = '' , $key = '[SENDKEY]' )
curl_setopt($ch, CURLOPT_URL, 'https://sctapi.ftqq.com/'.$key.'.send');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_POST, 1);