Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function boot() |
||
37 | { |
||
38 | $this->publishes([ |
||
39 | __DIR__ . '/config/security-txt.php' => config_path('security-txt.php'), |
||
40 | ]); |
||
41 | |||
42 | if (!$this->app->routesAreCached()) |
||
43 | require __DIR__ . '/routes/security-txt.php'; |
||
44 | |||
45 | if (!defined('LARAVEL_SECURITY_TXT_VERSION')) |
||
46 | define('LARAVEL_SECURITY_TXT_VERSION', SecurityTxtHelper::VERSION); |
||
47 | } |
||
66 |