Skip to content

Commit 53535eb

Browse files
author
Yuriy Martini
committed
move config to root path
1 parent 2e66551 commit 53535eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
File renamed without changes.

src/LaravelFilemanagerServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function boot()
2222
$this->loadViewsFrom(__DIR__.'/views', 'laravel-filemanager');
2323

2424
$this->publishes([
25-
__DIR__ . '/config/lfm.php' => base_path('config/lfm.php'),
25+
__DIR__.'/../config/lfm.php' => base_path('config/lfm.php'),
2626
], 'lfm_config');
2727

2828
$this->publishes([
@@ -39,7 +39,7 @@ public function boot()
3939

4040
if (config('lfm.use_package_routes')) {
4141
Route::group(['prefix' => 'filemanager', 'middleware' => ['web', 'auth']], function () {
42-
\UniSharp\LaravelFilemanager\Lfm::routes();
42+
Lfm::routes();
4343
});
4444
}
4545
}
@@ -51,7 +51,7 @@ public function boot()
5151
*/
5252
public function register()
5353
{
54-
$this->mergeConfigFrom(__DIR__ . '/config/lfm.php', 'lfm-config');
54+
$this->mergeConfigFrom(__DIR__.'/../config/lfm.php', 'lfm-config');
5555

5656
$this->app->singleton('laravel-filemanager', function () {
5757
return true;

0 commit comments

Comments
 (0)