From 6a9539b1677fe8c27fccd3620ad373c9d4553a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 23 Apr 2015 20:29:13 +0200 Subject: [PATCH 1/2] Fix: documented mobiledetect external library --- COPYRIGHT | 1 + 1 file changed, 1 insertion(+) 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 From 7281ea21e61071899d105e36d9f86a6d112b5735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 23 Apr 2015 20:27:21 +0200 Subject: [PATCH 2/2] Qual: moved mobiledetect external library External libraries resides in the include directory --- htdocs/core/lib/functions.lib.php | 2 +- .../class => includes/mobiledetect}/mobiledetect.class.php | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename htdocs/{core/class => includes/mobiledetect}/mobiledetect.class.php (100%) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index dc4e8c9e081..78f08b50f55 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