mirror of
https://github.com/mrclay/minify.git
synced 2025-08-09 15:46:34 +02:00
github issue 7 fix
This commit is contained in:
@@ -318,6 +318,9 @@ class HTTP_Encoder {
|
||||
*/
|
||||
public static function isBuggyIe()
|
||||
{
|
||||
if (empty($_SERVER['HTTP_USER_AGENT'])) {
|
||||
return false;
|
||||
}
|
||||
$ua = $_SERVER['HTTP_USER_AGENT'];
|
||||
// quick escape for non-IEs
|
||||
if (0 !== strpos($ua, 'Mozilla/4.0 (compatible; MSIE ')
|
||||
|
Reference in New Issue
Block a user