2
0
forked from Wavyzz/dolibarr

Merge pull request #2706 from GPCsolutions/mobiledetect

Mobiledetect
This commit is contained in:
Laurent Destailleur
2015-04-24 21:22:56 +02:00
3 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ ChromePHP 4.3.3 Apache Software License 2.0 Yes
CKEditor 4.3.3 LGPL-2.1+ Yes Editor WYSIWYG
FPDI 1.5.2 Apache Software License 2.0 Yes PDF templates management
GeoIP 1.4 LGPL-2.1+ Yes Sample code to make geoip convert (not into deb package)
Mobiledetect 2.8.3 MIT License Yes Detect mobile devices browsers
NuSoap 0.9.5 LGPL 2.1+ Yes Library to develop SOAP Web services (not into rpm and deb package)
PEAR Mail_MIME 1.8.9 BSD Yes NuSoap dependency
odtPHP 1.0.1 GPL-2+ b Yes Library to build/edit ODT files

View File

@@ -139,7 +139,7 @@ function getEntity($element=false, $shared=0)
*/
function getBrowserInfo($user_agent)
{
include_once DOL_DOCUMENT_ROOT.'/core/class/mobiledetect.class.php';
include_once DOL_DOCUMENT_ROOT.'/includes/mobiledetect/mobiledetect.class.php';
$name='unknown';
$version='';