Showing
1 changed file
with
6 additions
and
6 deletions
@@ -67,12 +67,12 @@ class Yohobuy | @@ -67,12 +67,12 @@ class Yohobuy | ||
67 | */ | 67 | */ |
68 | public static function clientType() | 68 | public static function clientType() |
69 | { | 69 | { |
70 | - if(self::isMobile()) { | ||
71 | - return 'h5'; | ||
72 | - } | ||
73 | - else { | ||
74 | - return 'web'; | ||
75 | - } | 70 | +// if(self::isMobile()) { |
71 | +// return 'h5'; | ||
72 | +// } | ||
73 | +// else { | ||
74 | +// return 'web'; | ||
75 | +// } | ||
76 | 76 | ||
77 | // 苹果设备 | 77 | // 苹果设备 |
78 | if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone')) { | 78 | if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone')) { |
-
Please register or login to post a comment