Fixed mobile detect classname without autoloader
This commit is contained in:
parent
32cb76a62b
commit
1ffb28a460
@ -149,7 +149,7 @@ function getBrowserInfo($user_agent)
|
||||
$os='unknown';
|
||||
$phone = '';
|
||||
|
||||
$detectmobile = new MobileDetect(null, $user_agent);
|
||||
$detectmobile = new Mobile_Detect(null, $user_agent);
|
||||
$tablet = $detectmobile->isTablet();
|
||||
|
||||
if ($detectmobile->isMobile()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user