|
@@ 293-294 (lines=2) @@
|
| 290 |
|
|
| 291 |
|
if ($xml_format == 'smf' || isset($_REQUEST['debug'])) |
| 292 |
|
header('Content-Type: text/xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 293 |
|
elseif ($xml_format == 'rss' || $xml_format == 'rss2') |
| 294 |
|
header('Content-Type: application/rss+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 295 |
|
elseif ($xml_format == 'atom') |
| 296 |
|
header('Content-Type: application/atom+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 297 |
|
elseif ($xml_format == 'rdf') |
|
@@ 295-296 (lines=2) @@
|
| 292 |
|
header('Content-Type: text/xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 293 |
|
elseif ($xml_format == 'rss' || $xml_format == 'rss2') |
| 294 |
|
header('Content-Type: application/rss+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 295 |
|
elseif ($xml_format == 'atom') |
| 296 |
|
header('Content-Type: application/atom+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 297 |
|
elseif ($xml_format == 'rdf') |
| 298 |
|
header('Content-Type: ' . (isBrowser('ie') ? 'text/xml' : 'application/rdf+xml') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
| 299 |
|
|