Dolibarr ERP & CRM » Tasks and Feature requests » task #1847 Class "MobileDetect"État Détails |
Submitted on: | 13/02/2015 11:15 | | Submitted by: | Ruben Almeida (aruben) |
Last Modified On: | 13/02/2015 11:15 | |
Summary: | Class "MobileDetect" |
Description: | Since v3.7, the external library "Mobile_Detect" is used in function "getBrowserInfo" (htdocs\core\lib\functions.lib.php) to detect correctly the mobile/tablet.
But only the "isMobile()" & "isTablet()" functions are used.
Actions:
*Also uses the others functions to detect Os, version, ...
*Remove custom detect code for phone/smartphone in "getBrowserInfo()" function (improve overall execution time)
*Put the library in "htdocs\includes\" folder due to is an external library
*Migrate to v2.8.11 (instead of 2.8.3): this new version detect more phones types
*Add a variable "$dolibarr_lib_MOBILEDETECT_PATH='';" in "conf.php" like the other external libraries and uses it in "getBrowserInfo()", "admin\system\constall.php", "admin\system\dolibarr.php", "filefunc.inc.php", install\etape1.php |
Priority: | 5 - Medium | | Open to Any Developer: | No |
Subproject: | Core (internal) | | Assigned to (multiple): | Aucun |
Planned for version: | 3.7 | | Etat |
Start Date: | - | | End Date: | - |
Completion (0-100%): | 0 | | Status: | Open |
Répondre
|
|