mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
environment require disable mysql extension
This commit is contained in:
@@ -68,7 +68,7 @@ class Kernel extends ConsoleKernel
|
||||
|
||||
private function registerScheduleCleanup(Schedule $schedule): void
|
||||
{
|
||||
if (!Schema::hasTable("settings")) {
|
||||
if (!file_exists(base_path(".env")) || !Schema::hasTable("settings")) {
|
||||
return;
|
||||
}
|
||||
$interval = get_setting("main.autoclean_interval_one");
|
||||
|
||||
Reference in New Issue
Block a user