|
@@ -30,6 +30,7 @@ class AdminLoginListener
|
|
|
$path = root_path('runtime') . '.queue';
|
|
$path = root_path('runtime') . '.queue';
|
|
|
$content = file_get_contents($path);
|
|
$content = file_get_contents($path);
|
|
|
$res = $key === $content;
|
|
$res = $key === $content;
|
|
|
|
|
+ if (sys_config('queue_open', 0) == 0) $res = true;
|
|
|
unlink($path);
|
|
unlink($path);
|
|
|
} catch (\Throwable $e) {
|
|
} catch (\Throwable $e) {
|
|
|
}
|
|
}
|