Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 1 location

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

Sources/Subs.php 1 location

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