mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fixed mobile detect classname without autoloader
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user