From c65ce97a6c941eadffa792fa85c40ba6556357a1 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Tue, 9 May 2023 16:00:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=9C=AA=E5=90=AF=E7=94=A8?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E9=98=9F=E5=88=97=E8=BF=98=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=A6=81=E5=BC=80=E5=90=AF=E6=B6=88=E6=81=AF=E9=98=9F=E5=88=97?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/listener/admin/AdminLoginListener.php | 1 + 1 file changed, 1 insertion(+) diff --git a/crmeb/app/listener/admin/AdminLoginListener.php b/crmeb/app/listener/admin/AdminLoginListener.php index 1297a4f81..07f31378d 100644 --- a/crmeb/app/listener/admin/AdminLoginListener.php +++ b/crmeb/app/listener/admin/AdminLoginListener.php @@ -30,6 +30,7 @@ class AdminLoginListener $path = root_path('runtime') . '.queue'; $content = file_get_contents($path); $res = $key === $content; + if (sys_config('queue_open', 0) == 0) $res = true; unlink($path); } catch (\Throwable $e) { }