diff options
author | jim-p <jimp@pfsense.org> | 2011-08-25 09:14:23 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-08-25 09:15:19 -0400 |
commit | e6eb0fcba014c5f65639bea51c4d10b8465796b9 (patch) | |
tree | 4480211c31b76b6c0a29540c944c070cd90de150 | |
parent | 429648515691ce1725f6086ad3399acd3432122e (diff) | |
download | pfsense-e6eb0fcba014c5f65639bea51c4d10b8465796b9.zip pfsense-e6eb0fcba014c5f65639bea51c4d10b8465796b9.tar.gz |
Add a couple more mobile browser detection strings (BlackBerry, Opera Mini/Mobi)
-rwxr-xr-x | usr/local/www/head.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index b76374b..69e2019 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -18,7 +18,7 @@ else * If this device is an apple ipod/iphone * switch the theme to one that works with it. */ -$lowres_ua = array("iPhone","iPod", "iPad", "Android"); +$lowres_ua = array("iPhone", "iPod", "iPad", "Android", "BlackBerry", "Opera Mini", "Opera Mobi"); foreach($lowres_ua as $useragent) if(strstr($_SERVER['HTTP_USER_AGENT'], $useragent)) $g['theme'] = empty($g['theme_lowres']) ? "pfsense" : $g['theme_lowres']; |