summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
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:17:17 -0400
commit107f0cc8cefd341bc686088aa3eb2b73c78c7eb0 (patch)
tree4f4e26151f1d52c47bed99118908486c4d64fcb0 /usr/local/www/head.inc
parent5dc98f2ec12693e86a794419a1f76e0c76937bb5 (diff)
downloadpfsense-107f0cc8cefd341bc686088aa3eb2b73c78c7eb0.zip
pfsense-107f0cc8cefd341bc686088aa3eb2b73c78c7eb0.tar.gz
Add a couple more mobile browser detection strings (BlackBerry, Opera Mini/Mobi)
Diffstat (limited to 'usr/local/www/head.inc')
-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