Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 1 location

@@ 2977-2978 (lines=2) @@
2974
		else
2975
			ob_start();
2976
2977
		if (isset($_GET['debug']))
2978
			header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
2979
2980
		// Don't cache error pages!!
2981
		header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');

Sources/Subs.php 1 location

@@ 3178-3179 (lines=2) @@
3175
		// Are we debugging the template/html content?
3176
		if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie'))
3177
			header('Content-Type: application/xhtml+xml');
3178
		elseif (!isset($_REQUEST['xml']))
3179
			header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3180
	}
3181
3182
	header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));