Code Duplication    Length = 2-2 lines in 2 locations

Sources/Subs.php 1 location

@@ 3353-3354 (lines=2) @@
3350
		// Are we debugging the template/html content?
3351
		if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie'))
3352
			header('Content-Type: application/xhtml+xml');
3353
		elseif (!isset($_REQUEST['xml']))
3354
			header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3355
	}
3356
3357
	header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));

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');