blob: e555d77c6e323a8ad39105288804f4573a779e54 [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(
Andre Gardiner303c7b22013-12-05 22:00:32 -050039 'windows nt 6.3' => 'Windows 8.1',
Debeet9defe902012-07-25 17:32:11 +030040 'windows nt 6.2' => 'Windows 8',
Eric Barnes46fcf0b2011-11-12 12:42:14 -050041 'windows nt 6.1' => 'Windows 7',
42 'windows nt 6.0' => 'Windows Vista',
43 'windows nt 5.2' => 'Windows 2003',
44 'windows nt 5.1' => 'Windows XP',
45 'windows nt 5.0' => 'Windows 2000',
46 'windows nt 4.0' => 'Windows NT 4.0',
47 'winnt4.0' => 'Windows NT 4.0',
48 'winnt 4.0' => 'Windows NT',
49 'winnt' => 'Windows NT',
50 'windows 98' => 'Windows 98',
51 'win98' => 'Windows 98',
52 'windows 95' => 'Windows 95',
53 'win95' => 'Windows 95',
msegers335fed92013-08-14 10:46:25 +020054 'windows phone' => 'Windows Phone',
Eric Barnes46fcf0b2011-11-12 12:42:14 -050055 'windows' => 'Unknown Windows OS',
Andrey Andreevca7d8222012-05-11 10:59:09 +030056 'android' => 'Android',
57 'blackberry' => 'BlackBerry',
58 'iphone' => 'iOS',
59 'ipad' => 'iOS',
60 'ipod' => 'iOS',
Eric Barnes46fcf0b2011-11-12 12:42:14 -050061 'os x' => 'Mac OS X',
62 'ppc mac' => 'Power PC Mac',
63 'freebsd' => 'FreeBSD',
64 'ppc' => 'Macintosh',
65 'linux' => 'Linux',
66 'debian' => 'Debian',
67 'sunos' => 'Sun Solaris',
68 'beos' => 'BeOS',
69 'apachebench' => 'ApacheBench',
70 'aix' => 'AIX',
71 'irix' => 'Irix',
72 'osf' => 'DEC OSF',
73 'hp-ux' => 'HP-UX',
74 'netbsd' => 'NetBSD',
75 'bsdi' => 'BSDi',
76 'openbsd' => 'OpenBSD',
77 'gnu' => 'GNU/Linux',
78 'unix' => 'Unknown Unix OS'
79);
Derek Allard2067d1a2008-11-13 22:59:24 +000080
81
82// The order of this array should NOT be changed. Many browsers return
83// multiple browser types so we want to identify the sub-type first.
84$browsers = array(
Jcchemin02410502013-10-08 18:18:54 +020085 'OPR' => 'Opera',
Eric Barnes46fcf0b2011-11-12 12:42:14 -050086 'Flock' => 'Flock',
87 'Chrome' => 'Chrome',
88 'Opera' => 'Opera',
89 'MSIE' => 'Internet Explorer',
90 'Internet Explorer' => 'Internet Explorer',
91 'Shiira' => 'Shiira',
92 'Firefox' => 'Firefox',
93 'Chimera' => 'Chimera',
94 'Phoenix' => 'Phoenix',
95 'Firebird' => 'Firebird',
96 'Camino' => 'Camino',
97 'Netscape' => 'Netscape',
98 'OmniWeb' => 'OmniWeb',
99 'Safari' => 'Safari',
100 'Mozilla' => 'Mozilla',
101 'Konqueror' => 'Konqueror',
102 'icab' => 'iCab',
103 'Lynx' => 'Lynx',
104 'Links' => 'Links',
105 'hotjava' => 'HotJava',
106 'amaya' => 'Amaya',
Andrey Andreev3ffce982013-01-21 15:24:09 +0200107 'IBrowse' => 'IBrowse',
vkeranovfdd14612013-11-08 09:19:29 +0200108 'Maxthon' => 'Maxthon',
109 'Ubuntu' => 'Ubuntu Web Browser'
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500110);
Derek Allard2067d1a2008-11-13 22:59:24 +0000111
112$mobiles = array(
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500113 // legacy array, old values commented out
114 'mobileexplorer' => 'Mobile Explorer',
115// 'openwave' => 'Open Wave',
116// 'opera mini' => 'Opera Mini',
117// 'operamini' => 'Opera Mini',
118// 'elaine' => 'Palm',
119 'palmsource' => 'Palm',
120// 'digital paths' => 'Palm',
121// 'avantgo' => 'Avantgo',
122// 'xiino' => 'Xiino',
123 'palmscape' => 'Palmscape',
124// 'nokia' => 'Nokia',
125// 'ericsson' => 'Ericsson',
126// 'blackberry' => 'BlackBerry',
127// 'motorola' => 'Motorola'
Derek Allard2067d1a2008-11-13 22:59:24 +0000128
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500129 // Phones and Manufacturers
Andrey Andreevca7d8222012-05-11 10:59:09 +0300130 'motorola' => 'Motorola',
131 'nokia' => 'Nokia',
132 'palm' => 'Palm',
133 'iphone' => 'Apple iPhone',
134 'ipad' => 'iPad',
135 'ipod' => 'Apple iPod Touch',
136 'sony' => 'Sony Ericsson',
137 'ericsson' => 'Sony Ericsson',
138 'blackberry' => 'BlackBerry',
139 'cocoon' => 'O2 Cocoon',
140 'blazer' => 'Treo',
141 'lg' => 'LG',
142 'amoi' => 'Amoi',
143 'xda' => 'XDA',
144 'mda' => 'MDA',
145 'vario' => 'Vario',
146 'htc' => 'HTC',
147 'samsung' => 'Samsung',
148 'sharp' => 'Sharp',
149 'sie-' => 'Siemens',
150 'alcatel' => 'Alcatel',
151 'benq' => 'BenQ',
152 'ipaq' => 'HP iPaq',
153 'mot-' => 'Motorola',
154 'playstation portable' => 'PlayStation Portable',
Debeet9defe902012-07-25 17:32:11 +0300155 'playstation 3' => 'PlayStation 3',
TheDragonSlayer2e746812013-03-30 09:50:27 -0300156 'playstation vita' => 'PlayStation Vita',
Andrey Andreevca7d8222012-05-11 10:59:09 +0300157 'hiptop' => 'Danger Hiptop',
158 'nec-' => 'NEC',
159 'panasonic' => 'Panasonic',
160 'philips' => 'Philips',
161 'sagem' => 'Sagem',
162 'sanyo' => 'Sanyo',
163 'spv' => 'SPV',
164 'zte' => 'ZTE',
165 'sendo' => 'Sendo',
Eric Roberts19d0f562012-08-11 19:53:59 -0500166 'nintendo dsi' => 'Nintendo DSi',
167 'nintendo ds' => 'Nintendo DS',
168 'nintendo 3ds' => 'Nintendo 3DS',
Andrey Andreevca7d8222012-05-11 10:59:09 +0300169 'wii' => 'Nintendo Wii',
Andrey Andreevca7d8222012-05-11 10:59:09 +0300170 'open web' => 'Open Web',
171 'openweb' => 'OpenWeb',
Bo-Yi Wuf22f8522011-11-12 15:23:04 +0800172
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500173 // Operating Systems
Andrey Andreevca7d8222012-05-11 10:59:09 +0300174 'android' => 'Android',
175 'symbian' => 'Symbian',
176 'SymbianOS' => 'SymbianOS',
177 'elaine' => 'Palm',
Andrey Andreevca7d8222012-05-11 10:59:09 +0300178 'series60' => 'Symbian S60',
179 'windows ce' => 'Windows CE',
Derek Allard2067d1a2008-11-13 22:59:24 +0000180
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500181 // Browsers
Andrey Andreevca7d8222012-05-11 10:59:09 +0300182 'obigo' => 'Obigo',
183 'netfront' => 'Netfront Browser',
184 'openwave' => 'Openwave Browser',
185 'mobilexplorer' => 'Mobile Explorer',
186 'operamini' => 'Opera Mini',
187 'opera mini' => 'Opera Mini',
188 'opera mobi' => 'Opera Mobile',
vlakoffc941d852013-08-06 14:44:40 +0200189 'fennec' => 'Firefox Mobile',
Derek Allard2067d1a2008-11-13 22:59:24 +0000190
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500191 // Other
Andrey Andreevca7d8222012-05-11 10:59:09 +0300192 'digital paths' => 'Digital Paths',
193 'avantgo' => 'AvantGo',
194 'xiino' => 'Xiino',
195 'novarra' => 'Novarra Transcoder',
196 'vodafone' => 'Vodafone',
197 'docomo' => 'NTT DoCoMo',
198 'o2' => 'O2',
Derek Allard2067d1a2008-11-13 22:59:24 +0000199
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500200 // Fallback
Andrey Andreevca7d8222012-05-11 10:59:09 +0300201 'mobile' => 'Generic Mobile',
202 'wireless' => 'Generic Mobile',
203 'j2me' => 'Generic Mobile',
204 'midp' => 'Generic Mobile',
205 'cldc' => 'Generic Mobile',
206 'up.link' => 'Generic Mobile',
207 'up.browser' => 'Generic Mobile',
208 'smartphone' => 'Generic Mobile',
209 'cellphone' => 'Generic Mobile'
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500210);
Derek Allard2067d1a2008-11-13 22:59:24 +0000211
212// There are hundreds of bots but these are the most common.
213$robots = array(
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500214 'googlebot' => 'Googlebot',
215 'msnbot' => 'MSNBot',
Garth Kerr1bfc1152013-04-03 13:02:21 -0400216 'baiduspider' => 'Baiduspider',
Andrew Seymour00cfbd22011-11-12 21:18:07 +0000217 'bingbot' => 'Bing',
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500218 'slurp' => 'Inktomi Slurp',
219 'yahoo' => 'Yahoo',
220 'askjeeves' => 'AskJeeves',
221 'fastcrawler' => 'FastCrawler',
222 'infoseek' => 'InfoSeek Robot 1.0',
Garth Kerr1bfc1152013-04-03 13:02:21 -0400223 'lycos' => 'Lycos',
224 'yandex' => 'YandexBot'
Eric Barnes46fcf0b2011-11-12 12:42:14 -0500225);
Derek Allard2067d1a2008-11-13 22:59:24 +0000226
227/* End of file user_agents.php */
Andrey Andreeva6eae872014-01-03 18:25:20 +0200228/* Location: ./application/config/user_agents.php */