Copy trunk to branch 0.1.4, is now 2.4-compatible

This commit is contained in:
lhudson 2010-01-21 01:41:09 +00:00
commit e8baa99c97

View File

@ -139,8 +139,6 @@ class GoogleSitemap extends Controller {
function index($url) {
if(self::$enabled) {
SSViewer::set_source_file_comments(false);
// We need to override the default content-type
ContentNegotiator::disable();
$this->getResponse()->addHeader('Content-Type', 'application/xml; charset="utf-8"');
// But we want to still render.