| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function boot() |
||
| 14 | { |
||
| 15 | // Automatically apply the package configuration |
||
| 16 | $this->mergeConfigFrom(realpath(__DIR__.'/../../config/config.php'), 'kata.kotor'); |
||
| 17 | |||
| 18 | // publish config |
||
| 19 | if ($this->app->runningInConsole()) { |
||
| 20 | $this->publishes([ |
||
| 21 | realpath(__DIR__.'/../../config/config.php') => config_path('kata-kotor.php'), |
||
| 22 | ], 'config'); |
||
| 23 | |||
| 24 | } |
||
| 25 | } |
||
| 26 | |||
| 40 |