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

@@ 3025-3026 (lines=2) @@
3022
		else
3023
			ob_start();
3024
3025
		if (isset($_GET['debug']))
3026
			header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
3027
3028
		// Don't cache error pages!!
3029
		header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');