jqh 5 years ago
parent
commit
8e775c5c33
1 changed files with 1 additions and 4 deletions
  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);
     }
 
     /**