1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:05:55 +00:00

set application/xml+opml content-type on export

This commit is contained in:
Andrew Dolgov
2006-05-18 07:02:07 +01:00
parent 062a42e282
commit 12ec37f3f7

View File

@@ -24,7 +24,7 @@
if (!$op) $op = "Export"; if (!$op) $op = "Export";
if ($op == "Export") { if ($op == "Export") {
header("Content-type: application/xml"); header("Content-type: application/xml+opml");
print "<?xml version=\"1.0\"?>"; print "<?xml version=\"1.0\"?>";
} }