index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-01-01 15:25:58 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-01-01 15:25:58 +0100 |
commit | b6eca948ade13bd5e0776794dd9840b1ff43ddb2 (patch) | |
tree | 4064244792eec879803291f46b9a928fd431c14a | |
parent | 227a3044c063c5455ef191c599082e978e80ee9b (diff) |
-rw-r--r-- | index.php | 3 |
@@ -93,8 +93,9 @@ if ($news_reachable == 'YES') { $news32 = false; } -$ch = curl_init("https://www.archlinux.org/feeds/news/"); +$ch = curl_init("https://archlinux.org/feeds/news/"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); +curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); $news64 = curl_exec($ch); curl_close($ch); $news64 = simplexml_load_string($news64); |