正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -37,10 +37,8 @@ class TopWarehouseServiceProvider extends ServiceProvider | @@ -37,10 +37,8 @@ class TopWarehouseServiceProvider extends ServiceProvider | ||
| 37 | 37 | ||
| 38 | public function boot() | 38 | public function boot() |
| 39 | { | 39 | { |
| 40 | - if ($this->app instanceof Application && $this->app->runningInConsole()) { | ||
| 41 | $this->publishes([__DIR__ . '/../config/top-warehouse.php' => config_path('top-warehouse.php')]); | 40 | $this->publishes([__DIR__ . '/../config/top-warehouse.php' => config_path('top-warehouse.php')]); |
| 42 | } | 41 | } |
| 43 | - } | ||
| 44 | 42 | ||
| 45 | public function provides() | 43 | public function provides() |
| 46 | { | 44 | { |
-
请 注册 或 登录 后发表评论