]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/template/header.php
Added default TOS from opensource.org wich should be configured for each web sites.
[jirafeau_project.git] / lib / template / header.php
index 7b06ae7945d96b45de97d129a0ce990d6b2d4386..f9a490476b0d6a71fcc8258ebad3bc5f691b0ff2 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 header("Vary: Accept");
-if(stristr($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml')) {
-  $content_type = 'application/xhtml+xml; charset=utf-8';
-}  else {
-  $content_type = 'text/html; charset=utf-8';
-}
+
+$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);
 

patrick-canterino.de