Signed-off-by: Jerome Jutteau <mojo@couak.net>
if (isset ($_SERVER['HTTP_ACCEPT']) &&
stristr ($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
if (isset ($_SERVER['HTTP_ACCEPT']) &&
stristr ($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
$content_type = 'application/xhtml+xml; charset=utf-8';
$content_type = 'application/xhtml+xml; charset=utf-8';
header('Content-Type: ' . $content_type);
header('Content-Type: ' . $content_type);
+header('x-ua-compatible: ie=edge');
$protocol = (bool)is_ssl() ? 'https' : 'http';
$protocol = (bool)is_ssl() ? 'https' : 'http';