opt
/
kaspersky
/
kav4fs
/
lib
/
perl
/
KL
➕ New
📤 Upload
✎ Editing:
AppInfo.pm
← Back
package KL::AppInfo; use strict; use KL::Utils; my $APPINFODBROOT = (KL::Utils::is_freebsd() ? '/var/db' : '/var/opt') . '/kaspersky/apps'; sub new { my $class = shift; my $id = shift; my $values = {}; $values = read_app_info($id) if defined $id; my $self = { VALUES => $values }; bless $self, $class; } sub value { my $self = shift; my $section = shift; my $name = shift; return $self->{VALUES}->{$section}->{$name}; } # Return application info for current ID sub read_app_info { my $id = shift; my $filename = "$APPINFODBROOT/$id"; return KL::Utils::load_ini_file($filename); } 1;
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel