Permalink
Browse files

Add Opera Mobi to mobile detectors.

This was missed in a merge with 1.3.
Fixes #2087
  • Loading branch information...
markstory committed Oct 25, 2011
1 parent bd87400 commit 621cb43e93eeb2ee64667ba21d5a3a8e114cc832
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/CakeRequest.php
@@ -105,7 +105,7 @@ class CakeRequest implements ArrayAccess {
'flash' => array('env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/'),
'mobile' => array('env' => 'HTTP_USER_AGENT', 'options' => array(
'Android', 'AvantGo', 'BlackBerry', 'DoCoMo', 'Fennec', 'iPod', 'iPhone',
- 'J2ME', 'MIDP', 'NetFront', 'Nokia', 'Opera Mini', 'PalmOS', 'PalmSource',
+ 'J2ME', 'MIDP', 'NetFront', 'Nokia', 'Opera Mini', 'Opera Mobi', 'PalmOS', 'PalmSource',
'portalmmm', 'Plucker', 'ReqwirelessWeb', 'SonyEricsson', 'Symbian', 'UP\\.Browser',
'webOS', 'Windows CE', 'Xiino'
))

0 comments on commit 621cb43

Please sign in to comment.