jqh 5 년 전
부모
커밋
8e775c5c33
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      src/Application.php

+ 1 - 4
src/Application.php

@@ -78,10 +78,7 @@ class Application
             }
         }
 
-        // 命令行重置多后台配置
-        if ($this->app->runningInConsole()) {
-            $this->withConfig(static::DEFAULT);
-        }
+        $this->withConfig(static::DEFAULT);
     }
 
     /**