summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-08-25 09:14:23 -0400
committerjim-p <jimp@pfsense.org>2011-08-25 09:15:19 -0400
commite6eb0fcba014c5f65639bea51c4d10b8465796b9 (patch)
tree4480211c31b76b6c0a29540c944c070cd90de150
parent429648515691ce1725f6086ad3399acd3432122e (diff)
downloadpfsense-e6eb0fcba014c5f65639bea51c4d10b8465796b9.zip
pfsense-e6eb0fcba014c5f65639bea51c4d10b8465796b9.tar.gz
Add a couple more mobile browser detection strings (BlackBerry, Opera Mini/Mobi)
-rwxr-xr-xusr/local/www/head.inc2
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'];
OpenPOWER on IntegriCloud