File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function currentLfmType()
8282 public function getDisplayMode ()
8383 {
8484 $ type_key = $ this ->currentLfmType ();
85- $ startup_view = config ('lfm.folder_categories. ' . $ type_key . '.startup_view ' );
85+ $ startup_view = $ this -> config -> get ('lfm.folder_categories. ' . $ type_key . '.startup_view ' );
8686
8787 $ view_type = 'grid ' ;
8888 $ target_display_type = $ this ->input ('show_list ' ) ?: $ startup_view ;
Original file line number Diff line number Diff line change 22
33namespace UniSharp \LaravelFilemanager \controllers ;
44
5- use Illuminate \Support \Facades \File ;
65use Illuminate \Support \Facades \Log ;
7- use Intervention \Image \Facades \Image ;
8- use Symfony \Component \HttpFoundation \File \UploadedFile ;
96use UniSharp \LaravelFilemanager \Events \ImageIsUploading ;
107use UniSharp \LaravelFilemanager \Events \ImageWasUploaded ;
118use UniSharp \LaravelFilemanager \Lfm ;
You can’t perform that action at this time.
0 commit comments