Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 1 location

@@ 3058-3059 (lines=2) @@
3055
		else
3056
			ob_start();
3057
3058
		if (isset($_GET['debug']))
3059
			header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3060
3061
		// Don't cache error pages!!
3062
		header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');

Sources/Subs.php 1 location

@@ 3363-3364 (lines=2) @@
3360
		// Are we debugging the template/html content?
3361
		if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie'))
3362
			header('Content-Type: application/xhtml+xml');
3363
		elseif (!isset($_REQUEST['xml']))
3364
			header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3365
	}
3366
3367
	header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));