diff --git a/nod32ms.conf b/nod32ms.conf index 49d70d7..d91d86a 100644 --- a/nod32ms.conf +++ b/nod32ms.conf @@ -145,7 +145,7 @@ rotate_qty = 5 ; Enabling internal key autosearch build-in module. ; It is used for searching keys in auto-mode using patterns located in ; "pattern" directory. -auto = 1 +auto = 0 ; Number of attempts to request new key if previous invalid number_attempts = 5 @@ -218,11 +218,13 @@ versionv16 = 0 ; v16-17 versionep6 = 0 ; ep6 versionep7 = 0 ; ep7 versionep8 = 0 ; ep8 -versionep9 = 1 ; ep9 -versionep10 = 1 ; ep10 +versionep9 = 0 ; ep9 +versionep10 = 0 ; ep10 versionep11 = 1 ; ep11 ; Eset Version 32bit OS -x32 = 1 +x32 = 0 ; Eset Version 64bit OS -x64 = 1 +x64 = 0 +; Eset Version arm64 OS +arm64 = 1 \ No newline at end of file diff --git a/worker/core/inc/classes/Mirror.class.php b/worker/core/inc/classes/Mirror.class.php index ffd049a..27a15d7 100644 --- a/worker/core/inc/classes/Mirror.class.php +++ b/worker/core/inc/classes/Mirror.class.php @@ -472,8 +472,8 @@ static protected function parse_update_file($matches) if (empty($output['file']) or empty($output['size']) or (static::$ESET['x32'] != 1 and preg_match("/32|86/", $output['platform'])) or - (static::$ESET['x64'] != 1 and preg_match("/64/", $output['platform'])) or - (static::$ESET['arm64'] != 1 and preg_match("/a64/", $output['platform'])) or + (static::$ESET['x64'] != 1 and preg_match("/(?get_databases_size(); $web_dir = Config::get('SCRIPT')['web_dir']; $ESET = Config::get('ESET'); + $arch_list = array(); + if ($ESET['x32'] == 1) $arch_list[] = Language::t('32bit'); + if ($ESET['x64'] == 1) $arch_list[] = Language::t('64bit'); + if ($ESET['arm64'] == 1) $arch_list[] = Language::t('arm64'); + $html_page = ''; if (Config::get('SCRIPT')['generate_only_table'] == '0') { @@ -507,7 +512,7 @@ private function generate_html() $html_page .= ''; $html_page .= '' . Language::t("Present platforms") . ''; - $html_page .= '' . ($ESET['x32'] == 1 ? Language::t('32bit') : '') . ($ESET['x64'] == 1 ? ($ESET['x32'] ? ', ' . Language::t('64bit') : Language::t('64bit')) : '') . ''; + $html_page .= '' . implode(', ', $arch_list) . ''; $html_page .= ''; $html_page .= '';