Skip to content
This repository
Browse code

Add Opera Mobi to mobile detectors.

This was missed in a merge with 1.3.
Fixes #2087
  • Loading branch information...
commit 621cb43e93eeb2ee64667ba21d5a3a8e114cc832 1 parent bd87400
Mark Story authored October 24, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Cake/Network/CakeRequest.php
2  lib/Cake/Network/CakeRequest.php
@@ -105,7 +105,7 @@ class CakeRequest implements ArrayAccess {
105 105
 		'flash' => array('env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/'),
106 106
 		'mobile' => array('env' => 'HTTP_USER_AGENT', 'options' => array(
107 107
 			'Android', 'AvantGo', 'BlackBerry', 'DoCoMo', 'Fennec', 'iPod', 'iPhone',
108  
-			'J2ME', 'MIDP', 'NetFront', 'Nokia', 'Opera Mini', 'PalmOS', 'PalmSource',
  108
+			'J2ME', 'MIDP', 'NetFront', 'Nokia', 'Opera Mini', 'Opera Mobi', 'PalmOS', 'PalmSource',
109 109
 			'portalmmm', 'Plucker', 'ReqwirelessWeb', 'SonyEricsson', 'Symbian', 'UP\\.Browser',
110 110
 			'webOS', 'Windows CE', 'Xiino'
111 111
 		))

0 notes on commit 621cb43

Please sign in to comment.
Something went wrong with that request. Please try again.