diff options
author | Jim P <jim@pingle.org> | 2013-03-04 13:20:54 -0800 |
---|---|---|
committer | Jim P <jim@pingle.org> | 2013-03-04 13:20:54 -0800 |
commit | e82e8700fda319b013c2f6359f9d3490e47edcd2 (patch) | |
tree | 46adf7e8eaf5bd85f27e8ac19744bd0e8a74349e /etc | |
parent | 7f07804662814747d05cfafbc6f48f5f6e5e23f5 (diff) | |
parent | 2cf899d3ed8615cdb825d8babfd283bd44c331f1 (diff) | |
download | pfsense-e82e8700fda319b013c2f6359f9d3490e47edcd2.zip pfsense-e82e8700fda319b013c2f6359f9d3490e47edcd2.tar.gz |
Merge pull request #446 from un0x/master
Added IE Mobile for WP8 to list of mobile browsers
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 2590f8e..a85e346 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -1932,7 +1932,7 @@ function get_current_theme() { * If this device is an apple ipod/iphone * switch the theme to one that works with it. */ - $lowres_ua = array("iPhone", "iPod", "iPad", "Android", "BlackBerry", "Opera Mini", "Opera Mobi", "PlayBook"); + $lowres_ua = array("iPhone", "iPod", "iPad", "Android", "BlackBerry", "Opera Mini", "Opera Mobi", "PlayBook", "IEMobile"); foreach($lowres_ua as $useragent) if(strstr($_SERVER['HTTP_USER_AGENT'], $useragent)) $theme = (empty($g['theme_lowres']) && (is_dir($g["www_path"].'/themes/'.$g['theme_lowres']))) ? "pfsense" : $g['theme_lowres']; |