| @@ 3373-3374 (lines=2) @@ | ||
| 3370 | // Are we debugging the template/html content? |
|
| 3371 | if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie')) |
|
| 3372 | header('content-type: application/xhtml+xml'); |
|
| 3373 | elseif (!isset($_REQUEST['xml'])) |
|
| 3374 | header('content-type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3375 | } |
|
| 3376 | ||
| 3377 | header('content-type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| @@ 3081-3082 (lines=2) @@ | ||
| 3078 | else |
|
| 3079 | ob_start(); |
|
| 3080 | ||
| 3081 | if (isset($_GET['debug'])) |
|
| 3082 | header('content-type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3083 | ||
| 3084 | // Don't cache error pages!! |
|
| 3085 | header('expires: Mon, 26 Jul 1997 05:00:00 GMT'); |
|