Skip to content
Permalink
Browse files

Merge branch 'dev'

  • Loading branch information
JB Lebrun
JB Lebrun committed Jan 2, 2020
2 parents 68da9eb + 1d43dc6 commit 3155d073ed1d2635e17be8a94943bccb27f88647
Showing with 2,020 additions and 1,478 deletions.
  1. +15 −0 documents/changelogs/Release-20191201.md
  2. +6 −6 engine/etc/static.php.inc
  3. +100 −39 engine/lib/tool/client.php.inc
  4. +42 −2 engine/lib/tool/clientBots/Bots.php.inc
  5. +12 −2 engine/lib/tool/clientBots/Generics.php.inc
  6. +3 −2 engine/lib/tool/clientDevices/Alcatel.php.inc
  7. +4 −2 engine/lib/tool/clientDevices/Archos.php.inc
  8. +3 −2 engine/lib/tool/clientDevices/Asus.php.inc
  9. +5 −4 engine/lib/tool/clientDevices/Coolpad.php.inc
  10. +3 −2 engine/lib/tool/clientDevices/Gionee.php.inc
  11. +3 −3 engine/lib/tool/clientDevices/HTC.php.inc
  12. +6 −3 engine/lib/tool/clientDevices/Huawei.php.inc
  13. +9 −2 engine/lib/tool/clientDevices/Infinix.php.inc
  14. +27 −6 engine/lib/tool/clientDevices/Kyocera.php.inc
  15. +55 −46 engine/lib/tool/clientDevices/LG.php.inc
  16. +50 −0 engine/lib/tool/clientDevices/LeEco.php.inc
  17. +4 −2 engine/lib/tool/clientDevices/Lenovo.php.inc
  18. +5 −2 engine/lib/tool/clientDevices/Motorola.php.inc
  19. +3 −2 engine/lib/tool/clientDevices/Nokia.php.inc
  20. +3 −2 engine/lib/tool/clientDevices/OnePlus.php.inc
  21. +3 −2 engine/lib/tool/clientDevices/Oppo.php.inc
  22. +51 −0 engine/lib/tool/clientDevices/Orbic.php.inc
  23. +3 −2 engine/lib/tool/clientDevices/Oukitel.php.inc
  24. +48 −0 engine/lib/tool/clientDevices/Palm.php.inc
  25. +50 −0 engine/lib/tool/clientDevices/Poptel.php.inc
  26. +20 −2 engine/lib/tool/clientDevices/Samsung.php.inc
  27. +3 −2 engine/lib/tool/clientDevices/Sony.php.inc
  28. +3 −2 engine/lib/tool/clientDevices/Umidigi.php.inc
  29. +3 −2 engine/lib/tool/clientDevices/Vivo.php.inc
  30. +5 −2 engine/lib/tool/clientDevices/Xiaomi.php.inc
  31. +3 −2 engine/lib/tool/clientDevices/Yezz.php.inc
  32. +3 −2 engine/lib/tool/clientDevices/ZTE.php.inc
  33. +5 −5 engine/lib/tool/file.php.inc
  34. +28 −3 engine/lib/tool/folder.php.inc
  35. +5 −3 engine/lib/tool/string.php.inc
  36. +7 −7 plugin/input/GenericMediaPopup/GenericMediaPopup.php.inc
  37. +6 −6 plugin/input/GenericMediaPopup/css/mediapopup.css
  38. +53 −53 plugin/input/GenericMediaPopup/js/mediapopup.js
  39. +3 −3 plugin/module/Admin_ContentPage/lib/ContentPage.php.inc
  40. +3 −3 ...ule/Admin_MonitoringUserAgentChecker/lib/Admin_MonitoringUserAgentCheckerRecordListParams.php.inc
  41. +135 −100 plugin/module/Admin_SecurityTools/lib/Admin_SecurityToolsCaMykSIntegrityDescription.php.inc
  42. +32 −2 plugin/module/Admin_Site/Admin_Site.php.inc
  43. +13 −5 plugin/module/Admin_Site/html/admin_view_site_config.html.inc
  44. +7 −2 plugin/module/Admin_Site/locale/translation_en.php.inc
  45. +7 −2 plugin/module/Admin_Site/locale/translation_fr.php.inc
  46. +233 −226 plugin/module/Admin_Statistics/html/admin_dated.html.inc
  47. +266 −257 plugin/module/Admin_Statistics/html/admin_detail.html.inc
  48. +409 −409 plugin/module/Admin_Statistics/html/admin_mixed.html.inc
  49. +239 −233 plugin/module/Admin_Statistics/html/admin_single.html.inc
  50. +3 −2 plugin/module/Admin_SystemNotifications/locale/translation_fr.php.inc
  51. +4 −3 plugin/module/Admin_SystemReport/Admin_SystemReport.php.inc
  52. +3 −3 plugin/module/Admin_SystemReport/lib/Admin_SystemReportItemListParams.php.inc
  53. +3 −2 plugin/module/Admin_SystemReport/locale/translation_en.php.inc
  54. +3 −2 plugin/module/Admin_SystemReport/locale/translation_fr.php.inc
@@ -0,0 +1,15 @@
# CaMykS Changelog
## Release 20191201

* [2019-11-04 12:59:26 +0100 | JB Lebrun] Adds November 2019 release history in changelogs. [#View details](https://github.com/Dj1b/CaMykS/commit/d911aad5fb2ee8e8ba5bf689865287c2b87e45f4)
* [2019-11-05 16:55:22 +0100 | JB Lebrun] Inserts some missing flags in engine data. [#View details](https://github.com/Dj1b/CaMykS/commit/ad8fbd773cd0ca808546c01a7a7c51150fbbe386)
* [2019-11-05 16:56:46 +0100 | JB Lebrun] Enhances countries library. [#View details](https://github.com/Dj1b/CaMykS/commit/ff232455f49eb3fe68835bf895ddc74069b7d30f)
* [2019-11-08 18:07:41 +0100 | JB Lebrun] Updates user agent detection in client library. [#View details](https://github.com/Dj1b/CaMykS/commit/05bfe0c47405f5ac78833910e0ee586b99909791)
* [2019-11-18 14:15:23 +0100 | JB Lebrun] Does small enhancements to IndigoFlatStyle theme, main style file. [#View details](https://github.com/Dj1b/CaMykS/commit/bd97ea44fb1e09cd0ca3af4a5d47aeeb2c316278)
* [2019-11-20 16:41:25 +0100 | JB Lebrun] Adds new methods in http library, duplicated from CaMykS v2. [#View details](https://github.com/Dj1b/CaMykS/commit/a151aaa4fa52d76bf4183a42390f01f73f8d30e9)
* [2019-11-22 18:23:42 +0100 | JB Lebrun] Updates user agent detection in client library. [#View details](https://github.com/Dj1b/CaMykS/commit/f1fcdbdde811e71e5c6460843d01ab622483bb1c)
* [2019-11-29 12:33:31 +0100 | JB Lebrun] Fixes a bug and enchances file library. [#View details](https://github.com/Dj1b/CaMykS/commit/200f5db59a6ca8284e10b57de829d8db39fdf634)
* [2019-11-29 12:40:22 +0100 | JB Lebrun] Updates user agent detection in client library. [#View details](https://github.com/Dj1b/CaMykS/commit/50e0b533eac55c72d54e5e952946d53308a81659)
* [2019-11-29 12:40:43 +0100 | JB Lebrun] Does some files cleaning. [#View details](https://github.com/Dj1b/CaMykS/commit/a104ecb4d0dd106355e20f33b445530dc3e824e1)
* [2019-11-29 17:18:26 +0100 | JB Lebrun] Fixes small issue in string_getShortenedSentence method in string library. [#View details](https://github.com/Dj1b/CaMykS/commit/8ab663da2e31433896394a3c2bcc8aa40549d4ed)
* [2019-12-02 11:50:13 +0100 | JB Lebrun] Prepares release. [#View details](https://github.com/Dj1b/CaMykS/commit/80a1ecb0dedf40be607e8f44cde02d856610259d)
@@ -5,10 +5,10 @@
* @details Engine / Configuration file
* @file engine/etc/static.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.16
* @version 1.0.17
* @date Creation: Sep 2005
* @date Modification: Dec 2019
* @copyright 2005 - 2019 CaMykS Team
* @date Modification: Jan 2020
* @copyright 2005 - 2020 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
@@ -23,7 +23,7 @@ $this->website = 'https://www.camyks.net';
* @var string $this->version
* @brief CaMykS full version
*/
$this->version = '1.0-20191201';
$this->version = '1.0-20200101';

/**
* @var string $this->mversion
@@ -35,13 +35,13 @@ $this->mversion = '1.0';
* @var string $this->nversion
* @brief CaMykS minor version
*/
$this->nversion = '20191201';
$this->nversion = '20200101';

/**
* @var integer $this->last_modification_date
* @brief CaMykS last modification date
*/
$this->last_modification_date = mktime(0, 0, 0, 1, 12, 2019);
$this->last_modification_date = mktime(0, 0, 0, 1, 1, 2020);

/**
* @var string $this->engine_folder

Large diffs are not rendered by default.

@@ -4,9 +4,9 @@
* @details Engine / Bot Library
* @file engine/lib/tool/clientBots/Bots.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.51
* @version 1.0.53
* @date Creation: May 2018
* @date Modification: Nov 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -2528,6 +2528,16 @@ function _client_getKnownBots() {
'engine_url' => 'http://www.linqia.com',
);

/* Linqia : inactive-blog-skipper */
$knownBots['inactive-blog-skipper'] = array(
'platform_type' => 'bot',
'platform_format' => 'desktop',
'bot_title' => 'inactive-blog-skipper',
'bot_url' => 'eng@linqia.com',
'engine_title' => 'Linqia',
'engine_url' => 'http://www.linqia.com',
);

/* ZoomBot */
$knownBots['zoombot'] = array(
'platform_type' => 'bot',
@@ -4484,6 +4494,36 @@ function _client_getKnownBots() {
'engine_url' => 'http://www.fatboykim.com',
);

/* Sidetrade indexer bot */
$knownBots['sidetrade indexer bot'] = array(
'platform_type' => 'bot',
'platform_format' => 'desktop',
'bot_title' => 'Sidetrade indexer bot ',
'bot_url' => '',
'engine_title' => 'Sidetrade',
'engine_url' => 'https://www.sidetrade.com',
);

/* ryowl bot */
$knownBots['ryowlengine'] = array(
'platform_type' => 'bot',
'platform_format' => 'desktop',
'bot_title' => 'RyowlEngine ',
'bot_url' => '',
'engine_title' => 'Ryowl',
'engine_url' => 'https://ryowl.org',
);

/* yomins.com bot */
$knownBots['yomins.com'] = array(
'platform_type' => 'bot',
'platform_format' => 'desktop',
'bot_title' => ' ',
'bot_url' => '',
'engine_title' => 'yomins.com',
'engine_url' => 'http://yomins.com/',
);

/* return bot list */
return $knownBots;
}
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientBots/Generics.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.16
* @version 1.0.17
* @date Creation: May 2018
* @date Modification: Nov 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -773,6 +773,16 @@ function _client_getKnownGenericsL2() {
'engine_url' => 'https://www.secutix.com',
);

/* webtech */
$knownGenerics['webtech'] = array(
'platform_type' => 'tool',
'platform_format' => 'desktop',
'tool_title' => 'webtech',
'tool_url' => 'https://github.com/ShielderSec/webtech',
'engine_title' => '',
'engine_url' => '',
);

/* obot */
$knownGenerics[' obot'] = array(
'platform_type' => 'bot',
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Alcatel.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.8
* @version 1.0.9
* @date Creation: Apr 2018
* @date Modification: Aug 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -70,6 +70,7 @@ function get_AlcatelClientDevice($deviceCode='') {
'5051X' => array('platform_model' => 'OneTouch Pop 4 (5\')', 'platform_year' => 2016),
'5054D' => array('platform_model' => 'OneTouch Pop 3 (5.5\')', 'platform_year' => 2016),
'5056D' => array('platform_model' => 'OneTouch Pop 4 (5.5\')', 'platform_year' => 2016),
'5056O' => array('platform_model' => 'OneTouch Allura', 'platform_year' => 2017),
'5056X' => array('platform_model' => 'OneTouch Pop 4 (5.5\')', 'platform_year' => 2016),
'5070D' => array('platform_model' => 'OneTouch Pop Star 4G', 'platform_year' => 2015),
'5070X' => array('platform_model' => 'OneTouch Pop Star 4G', 'platform_year' => 2015),
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Archos.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.9
* @version 1.0.10
* @date Creation: Apr 2018
* @date Modification: Oct 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -23,6 +23,7 @@ function get_ArchosClientDevice($deviceCode='') {
/* Archos tablets */
'101b Copper' => array('platform_model' => '101b Copper', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2015),
'101c Copper' => array('platform_model' => '101c Copper', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2016),
'Core 101 3G' => array('platform_model' => 'Core 101 3G', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2017),
'101 Oxygen' => array('platform_model' => '101 Oxygen', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2014),
'101b Oxygen' => array('platform_model' => '101b Oxygen', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2016),
'133 Oxygen' => array('platform_model' => '133 Oxygen', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2016),
@@ -113,6 +114,7 @@ function get_ArchosClientDevice($deviceCode='') {
'Core 50P' => array('platform_model' => 'Core 50P', 'platform_year' => 2017),
'Core 55 4G' => array('platform_model' => 'Core 55 4G', 'platform_year' => 2017),
'Core 55P' => array('platform_model' => 'Core 55P', 'platform_year' => 2017),
'Oxygen 57' => array('platform_model' => 'Oxygen 57', 'platform_year' => 2019),
);

/* Check for returning list */
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Asus.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.20
* @version 1.0.21
* @date Creation: Apr 2018
* @date Modification: Nov 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -21,6 +21,7 @@
function get_AsusClientDevice($deviceCode='') {
$deviceList = array(
/* Asus tablets */
'TF101' => array('platform_model' => 'Eee Pad Transformer', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2011),
'K007' => array('platform_model' => 'MeMO Pad 7', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2015),
'K01E' => array('platform_model' => 'MeMO Pad', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2014),
'ME173X' => array('platform_model' => 'MeMO Pad HD 7', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2013),
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Coolpad.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.2
* @version 1.0.3
* @date Creation: Apr 2018
* @date Modification: Jun 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -20,8 +20,9 @@
*/
function get_CoolpadClientDevice($deviceCode='') {
$deviceList = array(
'8298_I00' => array('platform_model' => 'Note Lite 3', 'plateform_year' => 2015),
'Y82-520' => array('platform_model' => 'Fengshang Y82-520', 'plateform_year' => 2015),
'8298_I00' => array('platform_model' => 'Note Lite 3', 'platform_year' => 2015),
'Y82-520' => array('platform_model' => 'Fengshang Y82-520', 'platform_year' => 2015),
'3648A' => array('platform_model' => '3648A', 'platform_year' => 2019),
);

/* Check for returning list */
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Gionee.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.2
* @version 1.0.3
* @date Creation: Sep 2018
* @date Modification: Jun 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -21,6 +21,7 @@
function get_GioneeClientDevice($deviceCode='') {
$deviceList = array(
'M5_lite' => array('platform_model' => 'M5 Lite', 'platform_year' => 2016),
'F103 Pro' => array('platform_year' => 2016),
'P8W' => array('platform_year' => 2017),
);

@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/HTC.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.15
* @version 1.0.16
* @date Creation: Aug 2018
* @date Modification: Oct 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -41,7 +41,7 @@ function get_HTCClientDevice($deviceCode='') {
'Desire 628 dual sim' => array('platform_model' => 'Desire 628 Dual SIM', 'platform_year' => 2016),
'D10i' => array('platform_model' => 'Desire 10 Pro', 'platform_year' => 2016),
'U-3u' => array('platform_model' => 'U11', 'platform_year' => 2017),
'U11' => array('platform_model' => 'U11+', 'platform_year' => 2017),
'U11' => array('platform_model' => 'U11', 'platform_year' => 2017),
'2Q4D100' => array('platform_model' => 'U11+', 'platform_year' => 2017),
'U Ultra' => array('platform_model' => 'U Ultra', 'platform_year' => 2017),
'2Q4R100' => array('platform_model' => 'U11 Eyes', 'platform_year' => 2018),
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Huawei.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.57
* @version 1.0.58
* @date Creation: Apr 2018
* @date Modification: Nov 2019
* @date Modification: Dec 2019
* @copyright 2018 - 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -28,6 +28,7 @@ function get_HuaweiClientDevices() {
'BEETHOVEN-DL09' => array('platform_model' => 'MediaPad M3', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2016),
'BTV-DL09' => array('platform_model' => 'MediaPad M3', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2016),
'FDR-A01w' => array('platform_model' => 'MediaPad T2 10.0 Pro', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2016),
'AGS-L09' => array('platform_model' => 'MediaPad T3 10', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2017),
'AGS-W09' => array('platform_model' => 'MediaPad T3', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2017),
'BG2-U01' => array('platform_model' => 'MediaPad T3 7', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2017),
'BG2-W09' => array('platform_model' => 'MediaPad T3', 'platform_type' => 'tablet', 'platform_format' => 'tablet', 'platform_year' => 2017),
@@ -60,6 +61,7 @@ function get_HuaweiClientDevices() {
'WAS-LX1' => array('platform_model' => 'P10 Lite', 'platform_year' => 2017),
'WAS-LX1A' => array('platform_model' => 'P10 Lite', 'platform_year' => 2017),
'WAS-LX2' => array('platform_model' => 'P10 Lite', 'platform_year' => 2017),
'WAS-LX3' => array('platform_model' => 'P10 Lite', 'platform_year' => 2017),
'WAS-TL10' => array('platform_model' => 'P10 Lite', 'platform_year' => 2017),
'VKY-L09' => array('platform_model' => 'P10 Plus', 'platform_year' => 2017),
'VKY-L29' => array('platform_model' => 'P10 Plus', 'platform_year' => 2017),
@@ -151,6 +153,7 @@ function get_HuaweiClientDevices() {
'BKL-L09S' => array('platform_model' => 'Honor View 10', 'platform_year' => 2018),
'PCT-L29' => array('platform_model' => 'Honor View 20', 'platform_year' => 2019),
'YAL-L41' => array('platform_model' => 'Honor 20 Pro', 'platform_year' => 2019),
'HRY-LX1T' => array('platform_model' => 'Honor 20 Lite', 'platform_year' => 2019),

/* Huawei Ascend series */
'Y520-U22' => array('platform_model' => 'Ascend', 'platform_year' => 2014),
@@ -254,7 +257,7 @@ function get_HuaweiClientDevice($deviceCode='') {
return array_merge($result, $deviceList[$deviceCode]);
}

/*
/**
* Check if given device is a Huawei know device
* @return array
*/
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Infinix.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.8
* @version 1.0.10
* @date Creation: Feb 2019
* @date Modification: Nov 2019
* @date Modification: Dec 2019
* @copyright 2019 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -23,12 +23,15 @@ function get_InfinixClientDevice($deviceCode='') {
/* Note serie */
'NOTE 3' => array('platform_model' => 'Note 3', 'platform_year' => 2015),
'NOTE 3 Pro' => array('platform_model' => 'Note 3 Pro', 'platform_year' => 2016),
'X571' => array('platform_model' => 'Note 4 Pro', 'platform_year' => 2017),
'X572' => array('platform_model' => 'Note 4', 'platform_year' => 2017),

/* Hot serie */
'X551' => array('platform_model' => 'Hot Note', 'platform_year' => 2015),
'X559' => array('platform_model' => 'Hot 5 Lite', 'platform_year' => 2017),
'X559C' => array('platform_model' => 'Hot 5', 'platform_year' => 2017),
'X573' => array('platform_model' => 'Hot S3', 'platform_year' => 2018),
'X606C' => array('platform_model' => 'Hot 6', 'platform_year' => 2018),
'X606D' => array('platform_model' => 'Hot 6', 'platform_year' => 2018),
'X608' => array('platform_model' => 'Hot 6 Pro', 'platform_year' => 2018),

@@ -37,6 +40,10 @@ function get_InfinixClientDevice($deviceCode='') {

/* Zero serie */
'Zero 4 Plus' => array('platform_year' => 2017),

/* S serie */
'X626B' => array('platform_model' => 'S4', 'platform_year' => 2019),

);

/* Check for returning list */

0 comments on commit 3155d07

Please sign in to comment.
You can’t perform that action at this time.