| @@ 2989-2990 (lines=2) @@ | ||
| 2986 | else |
|
| 2987 | ob_start(); |
|
| 2988 | ||
| 2989 | if (isset($_GET['debug'])) |
|
| 2990 | header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 2991 | ||
| 2992 | // Don't cache error pages!! |
|
| 2993 | header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); |
|
| @@ 3255-3256 (lines=2) @@ | ||
| 3252 | // Are we debugging the template/html content? |
|
| 3253 | if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie')) |
|
| 3254 | header('Content-Type: application/xhtml+xml'); |
|
| 3255 | elseif (!isset($_REQUEST['xml'])) |
|
| 3256 | header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3257 | } |
|
| 3258 | ||
| 3259 | header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|