From 186a6b640c1c5dc7803644259ab4d6dd38ea9578 Mon Sep 17 00:00:00 2001 From: ovclas Date: Wed, 16 Nov 2011 06:56:49 +0000 Subject: [PATCH] issue 83 added patch for mobile check git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9817 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/mobile/Mobile.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/mobile/Mobile.class.php b/classes/mobile/Mobile.class.php index b80f34527..694038406 100644 --- a/classes/mobile/Mobile.class.php +++ b/classes/mobile/Mobile.class.php @@ -55,7 +55,7 @@ class Mobile { function isMobileCheckByAgent() { - return !!preg_match('/(iPod|iPhone|Android|BlackBerry|SymbianOS|SCH-M\d+|Googlebot-Mobile)/',$_SERVER['HTTP_USER_AGENT']); + return !!preg_match('/(iPod|iPhone|Android|BlackBerry|SymbianOS|SCH-M\d+|SPH-M\d+|Windows Phone|Dorothy Browser|Googlebot-Mobile)/',$_SERVER['HTTP_USER_AGENT']); } function setMobile($ismobile)