summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2012-10-01 08:40:29 +0200
committerWarren Baker <warren@decoy.co.za>2012-10-01 08:40:29 +0200
commit19d61d2731c1fb0baf877632e8e482bf3ff57bdd (patch)
treee52e6f21fc215fb129f54a622805fa560a5ef6dd /usr/local/www/head.inc
parent193a8e1f677de8ec7cf32edca927bf47a7139c78 (diff)
downloadpfsense-19d61d2731c1fb0baf877632e8e482bf3ff57bdd.zip
pfsense-19d61d2731c1fb0baf877632e8e482bf3ff57bdd.tar.gz
Add UA support for BB PlayBook - patch by Pho Bia. Fixes #2648
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 e73ab0a..5063728 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", "BlackBerry", "Opera Mini", "Opera Mobi");
+$lowres_ua = array("iPhone", "iPod", "iPad", "Android", "BlackBerry", "Opera Mini", "Opera Mobi", "PlayBook");
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