blob: 0953deafdccc260e556bd953954c5d6eff1411fb [file] [log] [blame]
Andrey Andreeve734b382012-03-26 13:42:36 +03001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Derek Jonesf4a4bd82011-10-20 12:18:42 -05002/**
3 * CodeIgniter
4 *
Phil Sturgeon07c1ac82012-03-09 17:03:37 +00005 * An open source application development framework for PHP 5.2.4 or newer
Derek Jonesf4a4bd82011-10-20 12:18:42 -05006 *
7 * NOTICE OF LICENSE
Eric Barnes46fcf0b2011-11-12 12:42:14 -05008 *
Derek Jonesf4a4bd82011-10-20 12:18:42 -05009 * Licensed under the Academic Free License version 3.0
Eric Barnes46fcf0b2011-11-12 12:42:14 -050010 *
Derek Jones61df9062011-10-21 09:55:40 -050011 * This source file is subject to the Academic Free License (AFL 3.0) that is
Derek Jonesf4a4bd82011-10-20 12:18:42 -050012 * 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
Andrey Andreev80500af2013-01-01 08:16:53 +020021 * @copyright Copyright (c) 2008 - 2013, EllisLab, Inc. (http://ellislab.com/)
Derek Jonesf4a4bd82011-10-20 12:18:42 -050022 * @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| -------------------------------------------------------------------
Andrey Andreevd4901392012-06-06 14:54:15 +030032| 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
Andrey Andreevd4901392012-06-06 14:54:15 +030034| 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.
Derek Allard2067d1a2008-11-13 22:59:24 +000036*/
37
Andrey Andreevca7d8222012-05-11 10:59:09 +030038$platforms = array(
Debeet9defe902012-07-25 17:32:11 +030039 'windows nt 6.2' => 'Windows 8',
Eric Barnes46fcf0b2011-11-12 12:42:14 -050040 'windows nt 6.1' => 'Windows 7',
41 'windows nt 6.0' => 'Windows Vista',
42 'windows nt 5.2' => 'Windows 2003',
43 'windows nt 5.1' => 'Windows XP',
44 'windows nt 5.0' => 'Windows 2000',
45 'windows nt 4.0' => 'Windows NT 4.0',
46 'winnt4.0' => 'Windows NT 4.0',
47 'winnt 4.0' => 'Windows NT',
48 'winnt' => 'Windows NT',
49 'windows 98' => 'Windows 98',
50 'win98' => 'Windows 98',
51 'windows 95' => 'Windows 95',
52 'win95' => 'Windows 95',
msegers335fed92013-08-14 10:46:25 +020053 'windows phone' => 'Windows Phone',
Eric Barnes46fcf0b2011-11-12 12:42:14 -050054 'windows' => 'Unknown Windows OS',
Andrey Andreevca7d8222012-05-11 10:59:09 +030055 'android' => 'Android',
56 'blackberry' => 'BlackBerry',
57 'iphone' => 'iOS',
58 'ipad' => 'iOS',
59 'ipod' => 'iOS',
Eric Barnes46fcf0b2011-11-12 12:42:14 -050060 'os x' => 'Mac OS X',
61 'ppc mac' => 'Power PC Mac',
62 'freebsd' => 'FreeBSD',
63 'ppc' => 'Macintosh',
64 'linux' => 'Linux',
65 'debian' => 'Debian',
66 'sunos' => 'Sun Solaris',
67 'beos' => 'BeOS',
68 'apachebench' => 'ApacheBench',
69 'aix' => 'AIX',
70 'irix' => 'Irix',
71 'osf' => 'DEC OSF',
72 'hp-ux' => 'HP-UX',
73 'netbsd' => 'NetBSD',
74 'bsdi' => 'BSDi',
75 'openbsd' => 'OpenBSD',
76 'gnu' => 'GNU/Linux',
77 'unix' => 'Unknown Unix OS'
78);
Derek Allard2067d1a2008-11-13 22:59:24 +000079
80
81// The order of this array should NOT be changed. Many browsers return
82// multiple browser types so we want to identify the sub-type first.
83$browsers = array(
Jcchemin02410502013-10-08 18:18:54 +020084 'OPR' => 'Opera',
Eric Barnes46fcf0b2011-11-12 12:42:14 -050085 'Flock' => 'Flock',
86 'Chrome' => 'Chrome',
87 'Opera' => 'Opera',
88 'MSIE' => 'Internet Explorer',
89 'Internet Explorer' => 'Internet Explorer',
90 'Shiira' => 'Shiira',
91 'Firefox' => 'Firefox',
92 'Chimera' => 'Chimera',
93 'Phoenix' => 'Phoenix',
94 'Firebird' => 'Firebird',
95 'Camino' => 'Camino',
96 'Netscape' => 'Netscape',
97 'OmniWeb' => 'OmniWeb',
98 'Safari' => 'Safari',
99 'Mozilla' => 'Mozilla',
100 'Konqueror' => 'Konqueror',
101 'icab' => 'iCab',
102 'Lynx' => 'Lynx',
103 'Links' => 'Links',
104 'hotjava' => 'HotJava',
105 'amaya' => 'Amaya',
Andrey Andreev3ffce982013-01-21 15:24:09 +0200106 'IBrowse' => 'IBrowse',
vkeranovfdd14612013-11-08 09:19:29 +0200107 'Maxthon' => 'Maxthon',
108 'Ubuntu' => 'Ubuntu Web Browser'
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500109);
Derek Allard2067d1a2008-11-13 22:59:24 +0000110
111$mobiles = array(
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500112 // legacy array, old values commented out
113 'mobileexplorer' => 'Mobile Explorer',
114// 'openwave' => 'Open Wave',
115// 'opera mini' => 'Opera Mini',
116// 'operamini' => 'Opera Mini',
117// 'elaine' => 'Palm',
118 'palmsource' => 'Palm',
119// 'digital paths' => 'Palm',
120// 'avantgo' => 'Avantgo',
121// 'xiino' => 'Xiino',
122 'palmscape' => 'Palmscape',
123// 'nokia' => 'Nokia',
124// 'ericsson' => 'Ericsson',
125// 'blackberry' => 'BlackBerry',
126// 'motorola' => 'Motorola'
Derek Allard2067d1a2008-11-13 22:59:24 +0000127
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500128 // Phones and Manufacturers
Andrey Andreevca7d8222012-05-11 10:59:09 +0300129 'motorola' => 'Motorola',
130 'nokia' => 'Nokia',
131 'palm' => 'Palm',
132 'iphone' => 'Apple iPhone',
133 'ipad' => 'iPad',
134 'ipod' => 'Apple iPod Touch',
135 'sony' => 'Sony Ericsson',
136 'ericsson' => 'Sony Ericsson',
137 'blackberry' => 'BlackBerry',
138 'cocoon' => 'O2 Cocoon',
139 'blazer' => 'Treo',
140 'lg' => 'LG',
141 'amoi' => 'Amoi',
142 'xda' => 'XDA',
143 'mda' => 'MDA',
144 'vario' => 'Vario',
145 'htc' => 'HTC',
146 'samsung' => 'Samsung',
147 'sharp' => 'Sharp',
148 'sie-' => 'Siemens',
149 'alcatel' => 'Alcatel',
150 'benq' => 'BenQ',
151 'ipaq' => 'HP iPaq',
152 'mot-' => 'Motorola',
153 'playstation portable' => 'PlayStation Portable',
Debeet9defe902012-07-25 17:32:11 +0300154 'playstation 3' => 'PlayStation 3',
TheDragonSlayer2e746812013-03-30 09:50:27 -0300155 'playstation vita' => 'PlayStation Vita',
Andrey Andreevca7d8222012-05-11 10:59:09 +0300156 'hiptop' => 'Danger Hiptop',
157 'nec-' => 'NEC',
158 'panasonic' => 'Panasonic',
159 'philips' => 'Philips',
160 'sagem' => 'Sagem',
161 'sanyo' => 'Sanyo',
162 'spv' => 'SPV',
163 'zte' => 'ZTE',
164 'sendo' => 'Sendo',
Eric Roberts19d0f562012-08-11 19:53:59 -0500165 'nintendo dsi' => 'Nintendo DSi',
166 'nintendo ds' => 'Nintendo DS',
167 'nintendo 3ds' => 'Nintendo 3DS',
Andrey Andreevca7d8222012-05-11 10:59:09 +0300168 'wii' => 'Nintendo Wii',
Andrey Andreevca7d8222012-05-11 10:59:09 +0300169 'open web' => 'Open Web',
170 'openweb' => 'OpenWeb',
Bo-Yi Wuf22f8522011-11-12 15:23:04 +0800171
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500172 // Operating Systems
Andrey Andreevca7d8222012-05-11 10:59:09 +0300173 'android' => 'Android',
174 'symbian' => 'Symbian',
175 'SymbianOS' => 'SymbianOS',
176 'elaine' => 'Palm',
Andrey Andreevca7d8222012-05-11 10:59:09 +0300177 'series60' => 'Symbian S60',
178 'windows ce' => 'Windows CE',
Derek Allard2067d1a2008-11-13 22:59:24 +0000179
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500180 // Browsers
Andrey Andreevca7d8222012-05-11 10:59:09 +0300181 'obigo' => 'Obigo',
182 'netfront' => 'Netfront Browser',
183 'openwave' => 'Openwave Browser',
184 'mobilexplorer' => 'Mobile Explorer',
185 'operamini' => 'Opera Mini',
186 'opera mini' => 'Opera Mini',
187 'opera mobi' => 'Opera Mobile',
vlakoffc941d852013-08-06 14:44:40 +0200188 'fennec' => 'Firefox Mobile',
Derek Allard2067d1a2008-11-13 22:59:24 +0000189
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500190 // Other
Andrey Andreevca7d8222012-05-11 10:59:09 +0300191 'digital paths' => 'Digital Paths',
192 'avantgo' => 'AvantGo',
193 'xiino' => 'Xiino',
194 'novarra' => 'Novarra Transcoder',
195 'vodafone' => 'Vodafone',
196 'docomo' => 'NTT DoCoMo',
197 'o2' => 'O2',
Derek Allard2067d1a2008-11-13 22:59:24 +0000198
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500199 // Fallback
Andrey Andreevca7d8222012-05-11 10:59:09 +0300200 'mobile' => 'Generic Mobile',
201 'wireless' => 'Generic Mobile',
202 'j2me' => 'Generic Mobile',
203 'midp' => 'Generic Mobile',
204 'cldc' => 'Generic Mobile',
205 'up.link' => 'Generic Mobile',
206 'up.browser' => 'Generic Mobile',
207 'smartphone' => 'Generic Mobile',
208 'cellphone' => 'Generic Mobile'
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500209);
Derek Allard2067d1a2008-11-13 22:59:24 +0000210
211// There are hundreds of bots but these are the most common.
212$robots = array(
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500213 'googlebot' => 'Googlebot',
214 'msnbot' => 'MSNBot',
Garth Kerr1bfc1152013-04-03 13:02:21 -0400215 'baiduspider' => 'Baiduspider',
Andrew Seymour00cfbd22011-11-12 21:18:07 +0000216 'bingbot' => 'Bing',
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500217 'slurp' => 'Inktomi Slurp',
218 'yahoo' => 'Yahoo',
219 'askjeeves' => 'AskJeeves',
220 'fastcrawler' => 'FastCrawler',
221 'infoseek' => 'InfoSeek Robot 1.0',
Garth Kerr1bfc1152013-04-03 13:02:21 -0400222 'lycos' => 'Lycos',
223 'yandex' => 'YandexBot'
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500224);
Derek Allard2067d1a2008-11-13 22:59:24 +0000225
226/* End of file user_agents.php */
Andrey Andreevc761a202013-11-11 14:02:15 +0200227/* Location: ./application/config/user_agents.php */