|
11 | 11 | | This is the storage disk FileManager will use to put file uploads, you can use |
12 | 12 | | any of the disks defined in your config/filesystems.php file. Default to public. |
13 | 13 | */ |
14 | | - 'disk' => env('FILEMANAGER_DISK', 'public'), |
| 14 | + 'disk' => env('FILEMANAGER_DISK', 'public'), |
15 | 15 |
|
16 | 16 | /* |
17 | 17 | |-------------------------------------------------------------------------- |
|
20 | 20 | | This will set the default order of the files and folders. |
21 | 21 | | You can use mime, name or size. Default to mime |
22 | 22 | */ |
23 | | - 'order' => env('FILEMANAGER_ORDER', 'mime'), |
| 23 | + 'order' => env('FILEMANAGER_ORDER', 'mime'), |
24 | 24 |
|
25 | 25 | /* |
26 | 26 | |-------------------------------------------------------------------------- |
|
39 | 39 | | info. This is useful when s3 is being used or when needs to read a lot of files. |
40 | 40 | | Cache is set by file, not by folder. Default to false. |
41 | 41 | */ |
42 | | - 'cache' => env('FILEMANAGER_CACHE', false), |
| 42 | + 'cache' => env('FILEMANAGER_CACHE', false), |
43 | 43 |
|
44 | 44 | /* |
45 | 45 | |-------------------------------------------------------------------------- |
|
48 | 48 | | This will hide or show filemanager buttons. You can enable o disable buttons |
49 | 49 | | as your own needs. True means visible. False hidden. |
50 | 50 | */ |
51 | | - 'buttons' => [ |
| 51 | + 'buttons' => [ |
52 | 52 |
|
53 | 53 | // Menu |
54 | | - 'create_folder' => true, |
55 | | - 'upload_button' => true, |
| 54 | + 'create_folder' => true, |
| 55 | + 'upload_button' => true, |
56 | 56 | 'select_multiple' => true, |
57 | 57 |
|
58 | 58 | // Folders |
59 | | - 'rename_folder' => true, |
60 | | - 'delete_folder' => true, |
| 59 | + 'rename_folder' => true, |
| 60 | + 'delete_folder' => true, |
61 | 61 |
|
62 | 62 | // Files |
63 | | - 'rename_file' => true, |
64 | | - 'delete_file' => true, |
65 | | - 'download_file' => true, |
| 63 | + 'rename_file' => true, |
| 64 | + 'delete_file' => true, |
| 65 | + 'download_file' => true, |
66 | 66 |
|
67 | 67 | ], |
68 | 68 |
|
|
74 | 74 | | You can create|modify|delete as you want. |
75 | 75 | */ |
76 | 76 |
|
77 | | - 'filters' => [ |
| 77 | + 'filters' => [ |
| 78 | + 'Images' => ['jpg', 'jpeg', 'png', 'gif', 'svg', 'bmp', 'tiff'], |
78 | 79 |
|
79 | | - 'Images' => ['jpg', 'jpeg', 'png', 'gif', 'svg', 'bmp', 'tiff'], |
| 80 | + 'Documents' => ['json', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pps', 'pptx', 'odt', 'rtf', 'md', 'txt', 'css'], |
80 | 81 |
|
81 | | - 'Documents' => ['pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pps', 'pptx', 'odt', 'rtf', 'md', 'txt', 'css'], |
| 82 | + 'Videos' => ['mp4', 'avi', 'mov', 'mkv', 'wmv', 'flv', '3gp', 'h264'], |
82 | 83 |
|
83 | | - 'Videos' => ['mp4', 'avi', 'mov', 'mkv', 'wmv', 'flv', '3gp', 'h264'], |
84 | | - |
85 | | - 'Audios' => ['mp3', 'ogg', 'wav', 'wma', 'midi'], |
| 84 | + 'Audios' => ['mp3', 'ogg', 'wav', 'wma', 'midi'], |
86 | 85 |
|
87 | 86 | 'Compressed' => ['zip', 'rar', 'tar', 'gz', '7z', 'pkg'], |
88 | | - |
89 | 87 | ], |
90 | 88 |
|
91 | 89 | /* |
|
96 | 94 | | of the keys used in filters in lowercase. If you have a key called Documents, |
97 | 95 | | use 'documents' as your default filter. Default to false |
98 | 96 | */ |
99 | | - 'filter' => false, |
| 97 | + 'filter' => false, |
100 | 98 |
|
101 | 99 | /* |
102 | 100 | |-------------------------------------------------------------------------- |
103 | 101 | | Naming strategy |
104 | 102 | |-------------------------------------------------------------------------- |
105 | 103 | | Resolve the upload file name with a class that extends |
106 | | - | Stepanenko3\NovaFilemanager\Http\Services\AbstractNamingStrategy |
| 104 | + | Stepanenko3\NovaFilemanager\Services\AbstractNamingStrategy |
107 | 105 | */ |
108 | | - 'naming' => Stepanenko3\NovaFilemanager\Http\Services\DefaultNamingStrategy::class, |
| 106 | + 'naming' => Stepanenko3\NovaFilemanager\Services\DefaultNamingStrategy::class, |
109 | 107 |
|
110 | 108 | /* |
111 | 109 | |-------------------------------------------------------------------------- |
|
115 | 113 | | of the keys used in filters in lowercase. If you have a key called Documents, |
116 | 114 | | use 'documents' as your default filter. |
117 | 115 | */ |
118 | | - 'jobs' => [], |
| 116 | + 'jobs' => [], |
119 | 117 |
|
120 | 118 | 'iconSize' => 48, |
121 | 119 | ]; |
0 commit comments