diff --git a/COPYRIGHT b/COPYRIGHT index 3c7cb5bf1cf..73d5a03572e 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -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 diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 8574c8f8364..ca1fff9a923 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -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=''; diff --git a/htdocs/core/class/mobiledetect.class.php b/htdocs/includes/mobiledetect/mobiledetect.class.php similarity index 100% rename from htdocs/core/class/mobiledetect.class.php rename to htdocs/includes/mobiledetect/mobiledetect.class.php