|
@@ -3062,7 +3062,8 @@ function template_header()
|
|
|
header('Content-Type: text/html; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
|
|
|
}
|
|
|
|
|
|
- header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
|
|
|
+ if (!WIRELESS || WIRELESS_PROTOCOL != 'wap')
|
|
|
+ header('Content-Type: text/' . (isset($_REQUEST['xml']) ? 'xml' : 'html') . '; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));
|
|
|
|
|
|
// We need to splice this in after the body layer, or after the main layer for older stuff.
|
|
|
if ($context['in_maintenance'] && $context['user']['is_admin'])
|