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';
|
$os='unknown';
|
||||||
$phone = '';
|
$phone = '';
|
||||||
|
|
||||||
$detectmobile = new MobileDetect(null, $user_agent);
|
$detectmobile = new Mobile_Detect(null, $user_agent);
|
||||||
$tablet = $detectmobile->isTablet();
|
$tablet = $detectmobile->isTablet();
|
||||||
|
|
||||||
if ($detectmobile->isMobile()) {
|
if ($detectmobile->isMobile()) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user