summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
authormsegers <mathijssegers@gmail.com>2013-08-14 10:46:25 +0200
committermsegers <mathijssegers@gmail.com>2013-08-14 10:46:25 +0200
commit335fed9c5c70b94264db7daf02edb7cf08cceba0 (patch)
tree45cb448c94274d83b92a3b84d37b0437c4d2efcc /application/config
parent756eaf6245a9c2a8a9f01b3b3d9fcd255bd64d25 (diff)
Detect Windows Phones
Added 1 line to the platforms 'windows phone' => 'Windows Phone', This will return the OS of the "new" generation of windows phones instead of "Unknown windows Os"
Diffstat (limited to 'application/config')
-rw-r--r--application/config/user_agents.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/config/user_agents.php b/application/config/user_agents.php
index 0c8605820..bb135164f 100644
--- a/application/config/user_agents.php
+++ b/application/config/user_agents.php
@@ -50,6 +50,7 @@ $platforms = array(
'win98' => 'Windows 98',
'windows 95' => 'Windows 95',
'win95' => 'Windows 95',
+ 'windows phone' => 'Windows Phone',
'windows' => 'Unknown Windows OS',
'android' => 'Android',
'blackberry' => 'BlackBerry',
@@ -221,4 +222,4 @@ $robots = array(
);
/* End of file user_agents.php */
-/* Location: ./application/config/user_agents.php */ \ No newline at end of file
+/* Location: ./application/config/user_agents.php */