|
@@ 279-280 (lines=2) @@
|
| 276 |
|
|
| 277 |
|
if ($xml_format == 'smf' || isset($_REQUEST['debug'])) |
| 278 |
|
header('Content-Type: text/xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 279 |
|
elseif ($xml_format == 'rss' || $xml_format == 'rss2') |
| 280 |
|
header('Content-Type: application/rss+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 281 |
|
elseif ($xml_format == 'atom') |
| 282 |
|
header('Content-Type: application/atom+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 283 |
|
elseif ($xml_format == 'rdf') |
|
@@ 281-282 (lines=2) @@
|
| 278 |
|
header('Content-Type: text/xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 279 |
|
elseif ($xml_format == 'rss' || $xml_format == 'rss2') |
| 280 |
|
header('Content-Type: application/rss+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 281 |
|
elseif ($xml_format == 'atom') |
| 282 |
|
header('Content-Type: application/atom+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 283 |
|
elseif ($xml_format == 'rdf') |
| 284 |
|
header('Content-Type: ' . (isBrowser('ie') ? 'text/xml' : 'application/rdf+xml') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 285 |
|
|