Skip to content

Commit 2447eb8

Browse files
committed
modify file name of custom config handler
1 parent f5609c1 commit 2447eb8

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/CustomHandlers/ConfigHandler.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Handlers/LfmConfigHandler.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace App\Handlers;
4+
5+
class LfmConfigHandler extends \Unisharp\Laravelfilemanager\Handlers\ConfigHandler
6+
{
7+
public function userField()
8+
{
9+
return parent::userField();
10+
}
11+
}

src/LaravelFilemanagerServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function boot()
3737
], 'lfm_view');
3838

3939
$this->publishes([
40-
__DIR__.'/CustomHandlers' => base_path('app/Handlers')
40+
__DIR__.'/Handlers/LfmConfigHandler.php' => base_path('app/Handlers/LfmConfigHandler.php')
4141
], 'lfm_handler');
4242
}
4343

0 commit comments

Comments
 (0)