fix: Путь к action фильтрам
This commit is contained in:
parent
2b021ffb61
commit
bfaaf77b3e
1 changed files with 3 additions and 2 deletions
|
|
@ -78,10 +78,11 @@ class Front extends Action
|
|||
$module->front = $this;
|
||||
// Ведение лога
|
||||
$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->access = $this->loadSettings(Path::join($modPath, 'filter', 'access.php'));
|
||||
$module->access->access = $this->loadSettings(Path::join($modPath, 'filters', 'access.json'));
|
||||
|
||||
$module->setUp();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue