summaryrefslogtreecommitdiffstats
path: root/server/ajax.server.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-21 06:16:17 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-21 06:16:17 +0000
commitaac50100d3e0d88d06f225cf7a1bff1131099e70 (patch)
treee28e10f54427786bbc459ecdb5b15b9a41f82612 /server/ajax.server.php
parentd62207327c99ea070985d46eaa8399b139914a86 (diff)
downloadampache-aac50100d3e0d88d06f225cf7a1bff1131099e70.tar.gz
ampache-aac50100d3e0d88d06f225cf7a1bff1131099e70.tar.bz2
ampache-aac50100d3e0d88d06f225cf7a1bff1131099e70.zip
fixed charset of returned xml
Diffstat (limited to 'server/ajax.server.php')
-rw-r--r--server/ajax.server.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/ajax.server.php b/server/ajax.server.php
index 53644560..caf8d55b 100644
--- a/server/ajax.server.php
+++ b/server/ajax.server.php
@@ -5,9 +5,8 @@
All rights reserved.
This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
+ modify it under the terms of the GNU General Public License v2
+ as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -34,7 +33,7 @@ $GLOBALS['user'] = new User($_REQUEST['user_id']);
$action = scrub_in($_REQUEST['action']);
/* Set the correct headers */
-header("Content-type: text/xml; charset=utf-8");
+header("Content-type: text/xml; charset=" . conf('site_charset'));
header("Content-Disposition: attachment; filename=ajax.xml");
header("Cache-Control: no-cache");