瀏覽代碼

Update Installer.php

Shlee 3 年之前
父節點
當前提交
4da076c756
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Console/Commands/Installer.php

+ 2 - 2
app/Console/Commands/Installer.php

@@ -80,8 +80,8 @@ class Installer extends Command
             $this->instanceSettings();
             $this->mediaSettings();
             $this->dbMigrations();
-            $this->resetArtisanCache();
             $this->validateEnv();
+            $this->resetArtisanCache();
         } else {
             $this->info('Installer: Simple...');
             $this->checkDiskPermissions();
@@ -92,8 +92,8 @@ class Installer extends Command
             $this->activityPubSettings();
             $this->instanceSettings();
             $this->dbMigrations();
-            $this->resetArtisanCache();
             $this->validateEnv();
+            $this->resetArtisanCache();
         }
     }