Added passeneg manager. Part 5

This commit is contained in:
Alexey Berezhok
2024-12-17 23:47:00 +03:00
parent d3f7451c9b
commit c572522f43
6 changed files with 113 additions and 4 deletions

View File

@@ -133,8 +133,13 @@ class Kernel::ModuleCoreWorker
ACTION_OK
end
def get_module_paydata_dir()
"#{Kernel::PluginConfiguration::MODULES_DATA_PATH}/#{self.class::MODULE_ID}/"
end
def get_module_paydata(file_path)
"#{Kernel::PluginConfiguration::MODULES_DATA_PATH}/#{self.class::MODULE_ID}/#{file_path}"
dir = get_module_paydata_dir
"#{dir}#{file_path}"
end
def get_module_conf(file_path)