Addind iPhone detection to RequestHandlerComponent::isMobile()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5375 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-07-02 22:20:58 +00:00
parent 072ed9581f
commit 77950dc608

View file

@ -28,7 +28,7 @@
*/
if (!defined('REQUEST_MOBILE_UA')) {
define('REQUEST_MOBILE_UA', '(MIDP|AvantGo|BlackBerry|J2ME|Opera Mini|DoCoMo|NetFront|Nokia|PalmOS|PalmSource|portalmmm|Plucker|ReqwirelessWeb|SonyEricsson|Symbian|UP\.Browser|Windows CE|Xiino)');
define('REQUEST_MOBILE_UA', '(iPhone|MIDP|AvantGo|BlackBerry|J2ME|Opera Mini|DoCoMo|NetFront|Nokia|PalmOS|PalmSource|portalmmm|Plucker|ReqwirelessWeb|SonyEricsson|Symbian|UP\.Browser|Windows CE|Xiino)');
}
/**