fix: Путь к action фильтрам

This commit is contained in:
origami11@yandex.ru 2023-07-03 16:11:57 +03:00
parent 2b021ffb61
commit bfaaf77b3e

View file

@ -78,10 +78,11 @@ class Front extends Action
$module->front = $this; $module->front = $this;
// Ведение лога // Ведение лога
$logger = new ActionLogger($module, $logPath, $this->user); $logger = new ActionLogger($module, $logPath, $this->user);
$logger->before = $this->loadSettings(Path::join($modPath, 'filter', 'logger.php')); $filename = Path::join($modPath, 'filters', 'logger.json');
$logger->before = $this->loadSettings($filename);
// Управление доступом // Управление доступом
$module->access = new ActionAccess($logger, $this->user); $module->access = new ActionAccess($logger, $this->user);
$module->access->access = $this->loadSettings(Path::join($modPath, 'filter', 'access.php')); $module->access->access = $this->loadSettings(Path::join($modPath, 'filters', 'access.json'));
$module->setUp(); $module->setUp();