|
|
@@ -713,7 +713,9 @@ class GlobalLogicController extends BaseLogicController
|
|
|
if (preg_match('/Android\s[\d\.]+;\s([^)]+)/i', $ua, $match)) {
|
|
|
$data['mobileBand'] = 'Android' . trim($match[1]);
|
|
|
}
|
|
|
- $data['mobileBand'] .= "(".mb_substr(trim($ua), 0, 25).")";
|
|
|
+ if (stripos($ua, 'Windows') !== false) {
|
|
|
+ $data['mobileBand'] = 'PC';
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return compact('data', 'userInfo', 'registerInviteSwitches', 'gameCount', 'userSource', 'OpenPage','platformData');
|