diff --git a/code/Calendar.php b/code/Calendar.php index 52782e6..ff016c3 100755 --- a/code/Calendar.php +++ b/code/Calendar.php @@ -653,7 +653,7 @@ public function rss() { $xml = preg_replace('//', '', $xml); $xml = trim($xml); HTTP::add_cache_headers(); - header("Content-type: text/xml"); + $this->getResponse()->addHeader('Content-Type', 'application/rss+xml'); echo $xml; }