blob: 393833b22e22e4981156934ba31d9de9fcadceb1 [file] [log] [blame]
Derek Jones4b9c6292011-07-01 17:40:48 -05001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Derek Jonesf4a4bd82011-10-20 12:18:42 -05002/**
3 * CodeIgniter
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
7 * NOTICE OF LICENSE
8 *
9 * Licensed under the Academic Free License version 3.0
10 *
11 * This source file is subject to the Open Software License (OSL 3.0) that is
12 * bundled with this package in the files license_afl.txt / license_afl.rst.
13 * It is also available through the world wide web at this URL:
14 * http://opensource.org/licenses/AFL-3.0
15 * If you did not receive a copy of the license and are unable to obtain it
16 * through the world wide web, please send an email to
17 * licensing@ellislab.com so we can send you a copy immediately.
18 *
19 * @package CodeIgniter
20 * @author EllisLab Dev Team
21 * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. (http://ellislab.com/)
22 * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
23 * @link http://codeigniter.com
24 * @since Version 1.0
25 * @filesource
26 */
27
Derek Allard2067d1a2008-11-13 22:59:24 +000028/*
29| -------------------------------------------------------------------
30| USER AGENT TYPES
31| -------------------------------------------------------------------
Derek Jones4b9c6292011-07-01 17:40:48 -050032| This file contains four arrays of user agent data. It is used by the
Derek Allard2067d1a2008-11-13 22:59:24 +000033| User Agent Class to help identify browser, platform, robot, and
Derek Jones4b9c6292011-07-01 17:40:48 -050034| mobile device data. The array keys are used to identify the device
Derek Allard2067d1a2008-11-13 22:59:24 +000035| and the array values are used to set the actual name of the item.
36|
37*/
38
39$platforms = array (
mmestrovic995af492011-08-31 17:25:27 +030040 'windows nt 6.1' => 'Windows 7',
41 'windows nt 6.0' => 'Windows Vista',
Derek Allard2067d1a2008-11-13 22:59:24 +000042 'windows nt 5.2' => 'Windows 2003',
Derek Allard2067d1a2008-11-13 22:59:24 +000043 'windows nt 5.1' => 'Windows XP',
mmestrovic995af492011-08-31 17:25:27 +030044 'windows nt 5.0' => 'Windows 2000',
Derek Allard2067d1a2008-11-13 22:59:24 +000045 'windows nt 4.0' => 'Windows NT 4.0',
mmestrovic995af492011-08-31 17:25:27 +030046 'winnt4.0' => 'Windows NT 4.0',
47 'winnt 4.0' => 'Windows NT',
48 'winnt' => 'Windows NT',
Derek Allard2067d1a2008-11-13 22:59:24 +000049 'windows 98' => 'Windows 98',
mmestrovic995af492011-08-31 17:25:27 +030050 'win98' => 'Windows 98',
Derek Allard2067d1a2008-11-13 22:59:24 +000051 'windows 95' => 'Windows 95',
mmestrovic995af492011-08-31 17:25:27 +030052 'win95' => 'Windows 95',
53 'windows' => 'Unknown Windows OS',
54 'os x' => 'Mac OS X',
55 'ppc mac' => 'Power PC Mac',
56 'freebsd' => 'FreeBSD',
57 'ppc' => 'Macintosh',
58 'linux' => 'Linux',
59 'debian' => 'Debian',
60 'sunos' => 'Sun Solaris',
61 'beos' => 'BeOS',
Derek Allard2067d1a2008-11-13 22:59:24 +000062 'apachebench' => 'ApacheBench',
mmestrovic995af492011-08-31 17:25:27 +030063 'aix' => 'AIX',
64 'irix' => 'Irix',
65 'osf' => 'DEC OSF',
66 'hp-ux' => 'HP-UX',
67 'netbsd' => 'NetBSD',
68 'bsdi' => 'BSDi',
69 'openbsd' => 'OpenBSD',
70 'gnu' => 'GNU/Linux',
71 'unix' => 'Unknown Unix OS'
Derek Allard2067d1a2008-11-13 22:59:24 +000072 );
73
74
75// The order of this array should NOT be changed. Many browsers return
76// multiple browser types so we want to identify the sub-type first.
77$browsers = array(
mmestrovic995af492011-08-31 17:25:27 +030078 'Flock' => 'Flock',
79 'Chrome' => 'Chrome',
80 'Opera' => 'Opera',
81 'MSIE' => 'Internet Explorer',
Derek Allard2067d1a2008-11-13 22:59:24 +000082 'Internet Explorer' => 'Internet Explorer',
mmestrovic995af492011-08-31 17:25:27 +030083 'Shiira' => 'Shiira',
84 'Firefox' => 'Firefox',
85 'Chimera' => 'Chimera',
86 'Phoenix' => 'Phoenix',
87 'Firebird' => 'Firebird',
88 'Camino' => 'Camino',
89 'Netscape' => 'Netscape',
90 'OmniWeb' => 'OmniWeb',
91 'Safari' => 'Safari',
92 'Mozilla' => 'Mozilla',
93 'Konqueror' => 'Konqueror',
94 'icab' => 'iCab',
95 'Lynx' => 'Lynx',
96 'Links' => 'Links',
97 'hotjava' => 'HotJava',
98 'amaya' => 'Amaya',
99 'IBrowse' => 'IBrowse'
Derek Allard2067d1a2008-11-13 22:59:24 +0000100 );
101
102$mobiles = array(
103 // legacy array, old values commented out
104 'mobileexplorer' => 'Mobile Explorer',
mmestrovic995af492011-08-31 17:25:27 +0300105// 'openwave' => 'Open Wave',
Derek Allard2067d1a2008-11-13 22:59:24 +0000106// 'opera mini' => 'Opera Mini',
mmestrovic995af492011-08-31 17:25:27 +0300107// 'operamini' => 'Opera Mini',
108// 'elaine' => 'Palm',
Derek Allard2067d1a2008-11-13 22:59:24 +0000109 'palmsource' => 'Palm',
110// 'digital paths' => 'Palm',
mmestrovic995af492011-08-31 17:25:27 +0300111// 'avantgo' => 'Avantgo',
112// 'xiino' => 'Xiino',
113 'palmscape' => 'Palmscape',
114// 'nokia' => 'Nokia',
115// 'ericsson' => 'Ericsson',
Derek Allard2067d1a2008-11-13 22:59:24 +0000116// 'blackberry' => 'BlackBerry',
mmestrovic995af492011-08-31 17:25:27 +0300117// 'motorola' => 'Motorola'
Derek Allard2067d1a2008-11-13 22:59:24 +0000118
119 // Phones and Manufacturers
mmestrovic995af492011-08-31 17:25:27 +0300120 'motorola' => "Motorola",
121 'nokia' => "Nokia",
122 'palm' => "Palm",
123 'iphone' => "Apple iPhone",
124 'ipad' => "iPad",
125 'ipod' => "Apple iPod Touch",
126 'sony' => "Sony Ericsson",
127 'ericsson' => "Sony Ericsson",
Derek Allard2067d1a2008-11-13 22:59:24 +0000128 'blackberry' => "BlackBerry",
mmestrovic995af492011-08-31 17:25:27 +0300129 'cocoon' => "O2 Cocoon",
130 'blazer' => "Treo",
131 'lg' => "LG",
132 'amoi' => "Amoi",
133 'xda' => "XDA",
134 'mda' => "MDA",
135 'vario' => "Vario",
136 'htc' => "HTC",
137 'samsung' => "Samsung",
138 'sharp' => "Sharp",
139 'sie-' => "Siemens",
140 'alcatel' => "Alcatel",
141 'benq' => "BenQ",
142 'ipaq' => "HP iPaq",
143 'mot-' => "Motorola",
Barry Mienydd671972010-10-04 16:33:58 +0200144 'playstation portable' => "PlayStation Portable",
mmestrovic995af492011-08-31 17:25:27 +0300145 'hiptop' => "Danger Hiptop",
146 'nec-' => "NEC",
147 'panasonic' => "Panasonic",
148 'philips' => "Philips",
149 'sagem' => "Sagem",
150 'sanyo' => "Sanyo",
151 'spv' => "SPV",
152 'zte' => "ZTE",
153 'sendo' => "Sendo",
Derek Allard2067d1a2008-11-13 22:59:24 +0000154
mmestrovic995af492011-08-31 17:25:27 +0300155// Operating Systems
156 'android' => "Android",
157 'symbian' => "Symbian",
158 'SymbianOS' => "SymbianOS",
159 'elaine' => "Palm",
160 'palm' => "Palm",
161 'series60' => "Symbian S60",
162 'windows ce' => "Windows CE",
Derek Allard2067d1a2008-11-13 22:59:24 +0000163
164 // Browsers
mmestrovic995af492011-08-31 17:25:27 +0300165 'obigo' => "Obigo",
166 'netfront' => "Netfront Browser",
167 'openwave' => "Openwave Browser",
168 'mobilexplorer' => "Mobile Explorer",
169 'operamini' => "Opera Mini",
170 'opera mini' => "Opera Mini",
Derek Allard2067d1a2008-11-13 22:59:24 +0000171
172 // Other
mmestrovic995af492011-08-31 17:25:27 +0300173 'digital paths' => "Digital Paths",
174 'avantgo' => "AvantGo",
175 'xiino' => "Xiino",
176 'novarra' => "Novarra Transcoder",
177 'vodafone' => "Vodafone",
178 'docomo' => "NTT DoCoMo",
179 'o2' => "O2",
Derek Allard2067d1a2008-11-13 22:59:24 +0000180
181 // Fallback
mmestrovic995af492011-08-31 17:25:27 +0300182 'mobile' => "Generic Mobile",
183 'wireless' => "Generic Mobile",
184 'j2me' => "Generic Mobile",
185 'midp' => "Generic Mobile",
186 'cldc' => "Generic Mobile",
187 'up.link' => "Generic Mobile",
188 'up.browser' => "Generic Mobile",
189 'smartphone' => "Generic Mobile",
190 'cellphone' => "Generic Mobile"
Derek Allard2067d1a2008-11-13 22:59:24 +0000191 );
192
193// There are hundreds of bots but these are the most common.
194$robots = array(
mmestrovic995af492011-08-31 17:25:27 +0300195 'googlebot' => 'Googlebot',
196 'msnbot' => 'MSNBot',
197 'slurp' => 'Inktomi Slurp',
198 'yahoo' => 'Yahoo',
199 'askjeeves' => 'AskJeeves',
Derek Allard2067d1a2008-11-13 22:59:24 +0000200 'fastcrawler' => 'FastCrawler',
mmestrovic995af492011-08-31 17:25:27 +0300201 'infoseek' => 'InfoSeek Robot 1.0',
202 'lycos' => 'Lycos'
Derek Allard2067d1a2008-11-13 22:59:24 +0000203 );
204
205/* End of file user_agents.php */
Derek Jonesf0b39942010-03-25 10:08:20 -0500206/* Location: ./application/config/user_agents.php */