Skip to content

Commit

Permalink
fixes; new ver; return back symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
marat2509 committed Dec 8, 2024
1 parent a07533b commit d08f0b9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
1 change: 1 addition & 0 deletions nod32ms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ debug_update = 0

; Method for linking files
; hardlink - link() php function for create hard link, needs UAC on Windows
; symlink - symlink() php function for create symbolic link
; copy - copy() php function for create copy of file, default method
link_method = "hardlink"

Expand Down
4 changes: 4 additions & 0 deletions worker/core/inc/classes/Mirror.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,10 @@ static public function create_links($dir, $new_files)
link($result, $path);
Log::write_log(Language::t("Created hard link for %s", basename($array['file'])), 3, static::$version);
break;
case 'symlink':
symlink($result, $path);
Log::write_log(Language::t("Created symbolic link for %s", basename($array['file'])), 3, static::$version);
break;
case 'copy':
default:
copy($result, $path);
Expand Down
17 changes: 6 additions & 11 deletions worker/core/inc/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@
'ep7' => [
'file' => 'eset_upd/ep7/update.ver',
'dll' => 'eset_upd/ep7/dll/update.ver',
'name' => 'ESET NOD32 Endpoint 7'
],
'ep8' => [
'file' => 'eset_upd/ep8/update.ver',
'dll' => 'eset_upd/ep8/dll/update.ver',
'name' => 'ESET NOD32 Endpoint 8'
'name' => 'ESET NOD32 Endpoint 7-8'
],
'ep9' => [
'file' => 'eset_upd/ep9/update.ver',
Expand All @@ -50,12 +45,12 @@
'ep10' => [
'file' => 'eset_upd/ep10/update.ver',
'dll' => 'eset_upd/ep10/dll/update.ver',
'name' => 'ESET NOD32 Endpoint 10'
'name' => 'ESET NOD32 Endpoint 10-11'
],
'ep11' => [
'file' => 'eset_upd/ep11/update.ver',
'dll' => 'eset_upd/ep11/dll/update.ver',
'name' => 'ESET NOD32 Endpoint 11'
'ep12' => [
'file' => 'eset_upd/ep12/update.ver',
'dll' => 'eset_upd/ep12/dll/update.ver',
'name' => 'ESET NOD32 Endpoint 12'
],
'v3' => [
'file' => 'eset_upd/update.ver',
Expand Down

0 comments on commit d08f0b9

Please sign in to comment.