summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rwxr-xr-xapp/controllers/configureController.php2
-rwxr-xr-xapp/controllers/indexController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php
index 23df09172..4c1930d31 100755
--- a/app/controllers/configureController.php
+++ b/app/controllers/configureController.php
@@ -274,7 +274,7 @@ class configureController extends ActionController {
View::_title ('freshrss_feeds.opml');
$this->view->_useLayout (false);
- header('Content-Type: text/xml; charset=utf-8');
+ header('Content-Type: application/xml; charset=utf-8');
header('Content-disposition: attachment; filename=freshrss_feeds.opml');
$feedDAO = new FeedDAO ();
diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php
index 60d02cad8..ee40ff9d2 100755
--- a/app/controllers/indexController.php
+++ b/app/controllers/indexController.php
@@ -42,7 +42,7 @@ class indexController extends ActionController {
if ($output == 'rss') {
// no layout for RSS output
$this->view->_useLayout (false);
- header('Content-Type: text/xml; charset=utf-8');
+ header('Content-Type: application/rss+xml; charset=utf-8');
} else {
if(!$output) {
$output = $this->view->conf->viewMode();