| @@ 3008-3009 (lines=2) @@ | ||
| 3005 | else |
|
| 3006 | ob_start(); |
|
| 3007 | ||
| 3008 | if (isset($_GET['debug'])) |
|
| 3009 | header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3010 | ||
| 3011 | // Don't cache error pages!! |
|
| 3012 | header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); |
|
| @@ 3238-3239 (lines=2) @@ | ||
| 3235 | // Are we debugging the template/html content? |
|
| 3236 | if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie')) |
|
| 3237 | header('Content-Type: application/xhtml+xml'); |
|
| 3238 | elseif (!isset($_REQUEST['xml'])) |
|
| 3239 | header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|
| 3240 | } |
|
| 3241 | ||
| 3242 | header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set'])); |
|