mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
后台未启用消息队列还提示要开启消息队列提示修复
This commit is contained in:
parent
087cbb8c1a
commit
c65ce97a6c
@ -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) {
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user