diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index 8181f54..cbd5fdf 100755 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -139,8 +139,6 @@ public static function disable_google_notification() { 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. @@ -158,4 +156,4 @@ public static function enable() { public static function disable() { self::$enabled = false; } -} \ No newline at end of file +}