summaryrefslogtreecommitdiff
path: root/plugins/MobileProfile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MobileProfile')
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php58
1 files changed, 48 insertions, 10 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index ecaea29c0..3785feeec 100644
--- a/plugins/MobileProfile/MobileProfilePlugin.php
+++ b/plugins/MobileProfile/MobileProfilePlugin.php
@@ -107,16 +107,54 @@ class MobileProfilePlugin extends WAP20Plugin
// MP 1.0, 1.1, or 1.2 may be ideal. Possible?
$this->mobiledevices =
- array('alcatel', 'android', 'audiovox', 'au-mic,',
- 'avantgo', 'blackberry', 'blazer', 'cldc-', 'danger',
- 'epoc', 'ericsson', 'ericy', 'ipone', 'ipaq', 'j2me',
- 'lg', 'midp-', 'mobile', 'mot', 'netfront', 'nitro',
- 'nokia', 'opera mini', 'palm', 'palmsource',
- 'panasonic', 'philips', 'pocketpc', 'portalmmm',
- 'rover', 'samsung', 'sanyo', 'series60', 'sharp',
- 'sie-', 'smartphone', 'sony', 'symbian',
- 'up.browser', 'up.link', 'up.link', 'vodafone',
- 'wap1', 'wap2', 'windows ce');
+ array(
+ 'alcatel',
+ 'android',
+ 'audiovox',
+ 'au-mic,',
+ 'avantgo',
+ 'blackberry',
+ 'blazer',
+ 'cldc-',
+ 'danger',
+ 'epoc',
+ 'ericsson',
+ 'ericy',
+ 'iphone',
+ 'ipaq',
+ 'ipod',
+ 'j2me',
+ 'lg',
+ 'midp-',
+ 'mobile',
+ 'mot',
+ 'netfront',
+ 'nitro',
+ 'nokia',
+ 'opera mini',
+ 'palm',
+ 'palmsource',
+ 'panasonic',
+ 'philips',
+ 'pocketpc',
+ 'portalmmm',
+ 'rover',
+ 'samsung',
+ 'sanyo',
+ 'series60',
+ 'sharp',
+ 'sie-',
+ 'smartphone',
+ 'sony',
+ 'symbian',
+ 'up.browser',
+ 'up.link',
+ 'up.link',
+ 'vodafone',
+ 'wap1',
+ 'wap2',
+ 'windows ce'
+ );
$httpuseragent = strtolower($_SERVER['HTTP_USER_AGENT']);