Skip to content
Snippets Groups Projects
Commit 1ffb28a4 authored by Raphaël Doursenaud's avatar Raphaël Doursenaud
Browse files

Fixed mobile detect classname without autoloader

parent 32cb76a6
Branches
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ function getBrowserInfo($user_agent) ...@@ -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()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment