diff options
author | Erich Eckner <git@eckner.net> | 2019-06-06 13:26:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-06 13:26:42 +0200 |
commit | ac15e6b8340039ae68d86f02ca1cd2d68dcf42d0 (patch) | |
tree | 2e327bc090d4ca565ebb6b775013c968a89c6c4d | |
parent | 988651fbcad1cf6c70d845eb1546ded3b714a52c (diff) | |
download | archweb32-ac15e6b8340039ae68d86f02ca1cd2d68dcf42d0.tar.xz |
index.php: do not check certificate of new.archlinux32.org
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -75,6 +75,7 @@ print_header("", "home"); $ch = curl_init("https://news.archlinux32.org/rss.php"); curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); +curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); $news32 = curl_exec($ch); curl_close($ch); $news32 = simplexml_load_string($news32); |