Code Duplication    Length = 2-2 lines in 2 locations

Sources/Subs.php 1 location

@@ 3306-3307 (lines=2) @@
3303
		// Are we debugging the template/html content?
3304
		if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie'))
3305
			header('Content-Type: application/xhtml+xml');
3306
		elseif (!isset($_REQUEST['xml']))
3307
			header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3308
	}
3309
3310
	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

@@ 3003-3004 (lines=2) @@
3000
		else
3001
			ob_start();
3002
3003
		if (isset($_GET['debug']))
3004
			header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3005
3006
		// Don't cache error pages!!
3007
		header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');