mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
072ed9581f
commit
77950dc608
1 changed files with 1 additions and 1 deletions
|
@ -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)');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue