From 6fc2070a22cda40d174db205847dca4c214eeea6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 14 Jan 2004 22:30:09 +0000 Subject: Patch 5114 by Kjartan: - Adds drupal_set_header() and drupal_get_headers(). - Cache now stores custom headers. - Replace theme_head() with drupal_get_html_head(), added drupal_set_html_head(). - Added RSS autodiscover links to node, blog and taxonomy pages. --- modules/aggregator/aggregator.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/aggregator/aggregator.module') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index e7c807961..da9ecb4da 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -729,8 +729,7 @@ function aggregator_page_opml() { $output .= "\n"; $output .= "\n"; - header("Content-Type: text/xml"); - + drupal_set_header("Content-Type: text/xml; charset=utf-8"); print $output; } -- cgit v1.2.3