Skip to content

Commit 91f295a

Browse files
authored
Load default config file without requiring it to be published.
This will fix line #40 not working, if config file isn't published.
1 parent dd0670f commit 91f295a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LaravelFilemanagerServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public function boot()
5151
*/
5252
public function register()
5353
{
54+
$this->mergeConfigFrom('config/lfm.php', 'lfm-config');
55+
5456
$this->app->singleton('laravel-filemanager', function () {
5557
return true;
5658
});

0 commit comments

Comments
 (0)