]> git.p6c8.net - jirafeau_project.git/commitdiff
[BUGFIX] Remove redundant header variable
authorDan Untenzu <untenzu@webit.de>
Wed, 18 Jan 2017 17:01:14 +0000 (18:01 +0100)
committerJerome Jutteau <jerome.jutteau@outscale.com>
Thu, 23 Feb 2017 17:34:19 +0000 (18:34 +0100)
By removing the XHTML doctype it is not neccessary
anymore to tell proxys that the content type may change.

So this header is redunant now.

lib/template/header.php

index 14b902ee92b78a6c6ef5fd44319a42af3f3bfb5f..b4e6607460bc37fe6820a8ff6e673dd453c6a2fc 100644 (file)
@@ -1,5 +1,4 @@
 <?php
 <?php
-header('Vary: Accept');
 header('Content-Type: text/html; charset=utf-8');
 header('x-ua-compatible: ie=edge');
 
 header('Content-Type: text/html; charset=utf-8');
 header('x-ua-compatible: ie=edge');
 

patrick-canterino.de