| @@ 3367-3368 (lines=2) @@ | ||
| 3364 | // Are we debugging the template/html content? |
|
| 3365 | if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie')) |
|
| 3366 | header('Content-Type: application/xhtml+xml'); |
|
| 3367 | elseif (!isset($_REQUEST['xml'])) |
|
| 3368 | header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3369 | } |
|
| 3370 | ||
| 3371 | header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| @@ 3070-3071 (lines=2) @@ | ||
| 3067 | else |
|
| 3068 | ob_start(); |
|
| 3069 | ||
| 3070 | if (isset($_GET['debug'])) |
|
| 3071 | header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3072 | ||
| 3073 | // Don't cache error pages!! |
|
| 3074 | header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); |
|