BUGFIX: Fix static publisher rendering of sitemap.xml

This commit is contained in:
sminnee 2009-04-26 23:03:56 +00:00
parent bf5b9a56a9
commit a77902ec2a
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class GoogleSitemap extends Controller {
SSViewer::set_source_file_comments(false);
// We need to override the default content-type
ContentNegotiator::disable();
header('Content-type: application/xml; charset="utf-8"');
$this->getResponse()->addHeader('Content-Type', 'application/xml; charset="utf-8"');
// But we want to still render.
return array();