jqh hace 5 años
padre
commit
8e775c5c33
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  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);
     }
 
     /**