mirror of
https://github.com/GrandDuke1106/MCBBSAutoSignIn.git
synced 2025-01-07 00:16:22 -05:00
修改ssl
This commit is contained in:
parent
5c4b40f00a
commit
5cf3216c6b
2
Sign.php
2
Sign.php
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user