From 9d730c2961eb71621c740de1954b2c3408488421 Mon Sep 17 00:00:00 2001 From: "origami11@yandex.ru" Date: Fri, 16 Jun 2023 11:34:51 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=A1=D0=BB=D0=B5=D1=88=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Filter/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filter/Login.php b/src/Filter/Login.php index e17205b..a6591bd 100644 --- a/src/Filter/Login.php +++ b/src/Filter/Login.php @@ -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);