From 65c0ce6233195d3bf82f441df1e7ef775a5ca570 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Mon, 22 Dec 2014 07:54:09 +0100 Subject: [PATCH] rss: set content-type to xml * Work on https://github.com/sebsauvage/MinigalNano/issues/48 --- rss.php | 1 + 1 file changed, 1 insertion(+) diff --git a/rss.php b/rss.php index 917ff71..c13ec02 100644 --- a/rss.php +++ b/rss.php @@ -152,6 +152,7 @@ if (is_writeable(".")) { /*===================*/ /* XML Gen */ /*===================*/ +header('Content-Type: text/xml'); $temp = explode("\n", $content); echo "\n"; echo "\n";