Fixed mobile detect classname without autoloader

This commit is contained in:
Raphaël Doursenaud 2015-08-06 18:38:50 +02:00
parent 32cb76a62b
commit 1ffb28a460

View File

@ -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()) {