]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - lib/template/header.php
Added french support to installation process
[jirafeau_mojo42.git] / lib / template / header.php
index 7b06ae7945d96b45de97d129a0ce990d6b2d4386..f9a490476b0d6a71fcc8258ebad3bc5f691b0ff2 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 header("Vary: Accept");
 <?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);
 
 
 header('Content-Type: ' . $content_type);
 

patrick-canterino.de