diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |