Browse Source

Corrige header flux RSS généré

Marien Fressinaud 12 years ago
parent
commit
b5ba06dcf1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controllers/indexController.php

+ 1 - 1
app/controllers/indexController.php

@@ -42,7 +42,7 @@ class indexController extends ActionController {
 		if ($output == 'rss') {
 		if ($output == 'rss') {
 			// no layout for RSS output
 			// no layout for RSS output
 			$this->view->_useLayout (false);
 			$this->view->_useLayout (false);
-			header("Content-type: application/xml");
+			header('Content-Type: text/xml; charset=utf-8');
 		} else {
 		} else {
 			if(!$output) {
 			if(!$output) {
 				$output = $this->view->conf->viewMode();
 				$output = $this->view->conf->viewMode();