Fixed typo, added ipod

This commit is contained in:
Sarven Capadisli 2009-10-12 12:30:00 +00:00
parent 0947ca8b93
commit 7af1c83f4e

View File

@ -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']);