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"
diff --git a/application/config/user_agents.php b/application/config/user_agents.php
index 0c86058..bb13516 100644
--- a/application/config/user_agents.php
+++ b/application/config/user_agents.php
@@ -50,6 +50,7 @@
'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 @@
);
/* End of file user_agents.php */
-/* Location: ./application/config/user_agents.php */
\ No newline at end of file
+/* Location: ./application/config/user_agents.php */