]> git.p6c8.net - jirafeau.git/commitdiff
temporaly remove content type detection
authorJerome Jutteau <mojo@couak.net>
Thu, 16 Jul 2015 09:02:39 +0000 (11:02 +0200)
committerJerome Jutteau <mojo@couak.net>
Thu, 16 Jul 2015 09:02:39 +0000 (11:02 +0200)
Signed-off-by: Jerome Jutteau <mojo@couak.net>
lib/template/header.php

index 2edb4eaa5c1231eabe561fb84a0a16c11dc8fb51..91f857e9f71c6bc166ba448ebf5921e9647f6431 100644 (file)
@@ -3,9 +3,6 @@ header('Vary: Accept');
 
 $content_type = 'text/html; charset=utf-8';
 
-if (stristr ($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
-    $content_type = 'application/xhtml+xml; charset=utf-8';
-
 header('Content-Type: ' . $content_type);
 
 $protocol = (bool)is_ssl() ? 'https' : 'http';

patrick-canterino.de