aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-09 22:30:19 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-09 22:30:19 +0100
commit846078e9852c21d8ab383c165f82cb146ba6516a (patch)
tree63535fa16318ff5f890fb28317362e4665bc7207 /app/controllers/indexController.php
parentd847adbe1710691d2360a591d17ba9350c97672a (diff)
Corrige warnings validation flux RSS généré
Diffstat (limited to 'app/controllers/indexController.php')
-rwxr-xr-xapp/controllers/indexController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php
index 8770de89a..0e7ba586b 100755
--- a/app/controllers/indexController.php
+++ b/app/controllers/indexController.php
@@ -42,6 +42,7 @@ class indexController extends ActionController {
if ($output == 'rss') {
// no layout for RSS output
$this->view->_useLayout (false);
+ header("Content-type: application/xml");
} else {
if(!$output) {
$output = $this->view->conf->viewMode();