Skip to content

Instantly share code, notes, and snippets.

@nielk
Last active August 29, 2015 13:55
Show Gist options
  • Save nielk/8708702 to your computer and use it in GitHub Desktop.
Save nielk/8708702 to your computer and use it in GitHub Desktop.
Bad value X-UA-Compatible for attribute http-equiv - http://validator.nu/
<?php
if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
header('X-UA-Compatible: IE=edge,chrome=1');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment