From ac15e6b8340039ae68d86f02ca1cd2d68dcf42d0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 6 Jun 2019 13:26:42 +0200 Subject: index.php: do not check certificate of new.archlinux32.org --- index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'index.php') diff --git a/index.php b/index.php index be3c6c9..2a3e937 100644 --- a/index.php +++ b/index.php @@ -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); -- cgit v1.2.3-70-g09d2