Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 1 location

@@ 3076-3077 (lines=2) @@
3073
		else
3074
			ob_start();
3075
3076
		if (isset($_GET['debug']))
3077
			header('content-type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3078
3079
		// Don't cache error pages!!
3080
		header('expires: Mon, 26 Jul 1997 05:00:00 GMT');

Sources/Subs.php 1 location

@@ 3404-3405 (lines=2) @@
3401
		// Are we debugging the template/html content?
3402
		if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie'))
3403
			header('content-type: application/xhtml+xml');
3404
		elseif (!isset($_REQUEST['xml']))
3405
			header('content-type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3406
	}
3407
3408
	header('content-type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));