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