From 335fed9c5c70b94264db7daf02edb7cf08cceba0 Mon Sep 17 00:00:00 2001 From: msegers Date: Wed, 14 Aug 2013 10:46:25 +0200 Subject: 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" --- application/config/user_agents.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application') 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 */ -- cgit v1.2.3-24-g4f1b