Skip to content

Commit

Permalink
Update SystemMonitor.php
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleJake authored Jan 24, 2024
1 parent 6d77c01 commit cb81965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/common/lib/SystemMonitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static private function curlGet($url)
//设置获取的信息以文件流的形式返回,而不是直接输出。
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, TRUE);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
//执行命令
$data = curl_exec($curl);

Expand Down

0 comments on commit cb81965

Please sign in to comment.