diff options
author | Warren Baker <warren@decoy.co.za> | 2012-10-01 08:40:29 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2012-10-01 08:40:29 +0200 |
commit | 19d61d2731c1fb0baf877632e8e482bf3ff57bdd (patch) | |
tree | e52e6f21fc215fb129f54a622805fa560a5ef6dd | |
parent | 193a8e1f677de8ec7cf32edca927bf47a7139c78 (diff) | |
download | pfsense-19d61d2731c1fb0baf877632e8e482bf3ff57bdd.zip pfsense-19d61d2731c1fb0baf877632e8e482bf3ff57bdd.tar.gz |
Add UA support for BB PlayBook - patch by Pho Bia. Fixes #2648
-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 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']; |