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);
     }
 
     /**