git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit fb629fd5 authored by Mike Sheldon's avatar Mike Sheldon

Send correct header type with playlists

parent cb8119b3
......@@ -248,7 +248,7 @@ function make_playlist($session, $old_format = false, $format='xml') {
}else{
$smarty->assign('radiotracks', $radiotracks);
$smarty->assign('date', date("c"));
header('Content-Type: text/xml');
if ($old_format) {
$smarty->display('radio_oldxspf.tpl');
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment