| @@ 3006-3007 (lines=2) @@ | ||
| 3003 | else |
|
| 3004 | ob_start(); |
|
| 3005 | ||
| 3006 | if (isset($_GET['debug'])) |
|
| 3007 | header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3008 | ||
| 3009 | // Don't cache error pages!! |
|
| 3010 | header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); |
|
| @@ 3266-3267 (lines=2) @@ | ||
| 3263 | // Are we debugging the template/html content? |
|
| 3264 | if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie')) |
|
| 3265 | header('Content-Type: application/xhtml+xml'); |
|
| 3266 | elseif (!isset($_REQUEST['xml'])) |
|
| 3267 | header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3268 | } |
|
| 3269 | ||
| 3270 | header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|