diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-10-25 03:43:57 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-10-25 03:43:57 +0000 |
commit | 0cac6939b770e4685f368bd87beb5fd01120218b (patch) | |
tree | 2f3a6d306d0da719371e6352b7ac4043028e7486 /modules/blogapi.module | |
parent | cc9a372eaeef787c10565d2d4c3ece75623f518c (diff) | |
download | brdo-0cac6939b770e4685f368bd87beb5fd01120218b.tar.gz brdo-0cac6939b770e4685f368bd87beb5fd01120218b.tar.bz2 |
- Fix usage of header() to drupal_set_header()
- Emit charset for blogapi RSD
Diffstat (limited to 'modules/blogapi.module')
-rw-r--r-- | modules/blogapi.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module index 9aad83b73..f1330f436 100644 --- a/modules/blogapi.module +++ b/modules/blogapi.module @@ -600,7 +600,7 @@ function blogapi_rsd() { $base = url('', NULL, NULL, TRUE); $blogid = 1; # until we figure out how to handle multiple bloggers - header('Content-Type: application/rsd+xml'); + drupal_set_header('Content-Type: application/rsd+xml; charset=utf-8'); print <<<__RSD__ <?xml version="1.0"?> <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd"> |