fix: Слеши
This commit is contained in:
parent
2edd65d145
commit
9d730c2961
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ class Login extends Filter
|
|||
$module = $request->get('module');
|
||||
$action = $request->get('action');
|
||||
|
||||
$moduleDir = explode('_',$module)[0];
|
||||
$moduleDir = explode('\\',$module)[0];
|
||||
$file = Path::join($this->config->get('system', 'path'), 'modules', $moduleDir, 'filters', 'white.json');
|
||||
if (file_exists($file)) {
|
||||
$whiteList = json_decode(file_get_contents($file), true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue