aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-09 23:42:56 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-09 23:42:56 +0100
commit9e0a840c190e7dd3d58454491d4b5aa6bb4189cc (patch)
tree1f1ad8186495bef7790a135b806d83b2af941cbf /app
parent9ac09897ecbe79ac8855cc06bb66418a66d582e2 (diff)
Corrige une dernière fois header pour rss / xml
Diffstat (limited to 'app')
-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();