From 159a0a81a8c403eeae85f801a8a9827f9fb42be1 Mon Sep 17 00:00:00 2001 From: ischommer Date: Fri, 5 Dec 2008 02:47:07 +0000 Subject: [PATCH] BUGFIX moved sitemap.xml Director rule to googlesitemaps module BUGFIX Moved GoogleSitemap.ss to googlesitemaps module BUGFIX disabling template comments for xml output like sitemap.xml --- _config.php | 3 +++ code/GoogleSitemap.php | 1 + 2 files changed, 4 insertions(+) diff --git a/_config.php b/_config.php index 67c94a5..fcbe863 100644 --- a/_config.php +++ b/_config.php @@ -1,2 +1,5 @@ 'GoogleSitemap', +)); ?> \ No newline at end of file diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index b21a454..15f2361 100755 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -125,6 +125,7 @@ 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(); header('Content-type: application/xml; charset="utf-8"');