Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | public function boot() |
||
41 | { |
||
42 | $config = dirname(__DIR__).'/config/translatable.php'; |
||
43 | |||
44 | $this->mergeConfigFrom($config, 'translatable'); |
||
45 | $this->publishes([$config => config_path('translatable.php')], 'config'); |
||
46 | |||
47 | TranslatableConfig::setDbSettings( |
||
48 | $this->app['config']->get('translatable.db_settings') |
||
49 | ); |
||
50 | |||
51 | TranslatableConfig::setDefaults( |
||
52 | $this->app['config']->get('translatable.defaults') |
||
53 | ); |
||
56 |