Code Duplication    Length = 2-2 lines in 2 locations

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

Sources/Subs.php 1 location

@@ 3333-3334 (lines=2) @@
3330
		// Are we debugging the template/html content?
3331
		if (!isset($_REQUEST['xml']) && isset($_GET['debug']) && !isBrowser('ie'))
3332
			header('Content-Type: application/xhtml+xml');
3333
		elseif (!isset($_REQUEST['xml']))
3334
			header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3335
	}
3336
3337
	header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));