From 933572648c37d1d7b74e3ce0181cfcfb16460570 Mon Sep 17 00:00:00 2001 From: xboard Date: Wed, 22 Nov 2023 18:32:29 +0800 Subject: [PATCH] =?UTF-8?q?to:=20=E5=A2=9E=E5=8A=A0=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=89=8D?= =?UTF-8?q?=E6=B8=85=E9=99=A4=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/MigrateFromV2b.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/MigrateFromV2b.php b/app/Console/Commands/MigrateFromV2b.php index 95c82a3..4af8e70 100644 --- a/app/Console/Commands/MigrateFromV2b.php +++ b/app/Console/Commands/MigrateFromV2b.php @@ -158,6 +158,7 @@ class MigrateFromV2b extends Command public function MigrateV2ConfigToV2Settings() { + \Artisan::call('config:clear'); $configValue = config('v2board') ?? []; foreach ($configValue as $k => $v) { @@ -175,7 +176,6 @@ class MigrateFromV2b extends Command ]); $this->info("配置 ${k} 迁移成功"); } - \Artisan::call('config:clear'); \Artisan::call('config:cache'); $this->info('所有配置迁移完成');