rss: set content-type to xml

* Work on https://github.com/sebsauvage/MinigalNano/issues/48
This commit is contained in:
nodiscc 2014-12-22 07:54:09 +01:00 committed by Lucas Cimon
parent a108d8da78
commit 65c0ce6233

View file

@ -152,6 +152,7 @@ if (is_writeable(".")) {
/*===================*/
/* XML Gen */
/*===================*/
header('Content-Type: text/xml');
$temp = explode("\n", $content);
echo "<?xml version='1.0' encoding='UTF-8 '?>\n";
echo "<rss version='2.0'>\n<channel>";