Skip to content

Commit 1b650c6

Browse files
authored
Merge pull request #1 from SerguChen/master
sync
2 parents 438c215 + 9e24f85 commit 1b650c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/admin.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ function curl_text($url) {
7373
curl_setopt($ch, CURLOPT_HEADER, 0);
7474
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
7575
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
76-
76+
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
77+
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
7778

7879
$result = curl_exec($ch);
7980

0 commit comments

Comments
 (0)