update 1.0.8.0
Commits for version update
This commit is contained in:
@@ -1,36 +1,34 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// If true, the uploaded file will be renamed to uniqid() + file extension.
|
||||
'rename_file' => true,
|
||||
// true : files will be renamed as uniqid
|
||||
// false : files will remain original names
|
||||
|
||||
// If rename_file set to false and this set to true, then filter filename characters which are not alphanumeric.
|
||||
// true : filter filename characters which are not alphanumeric, and replace them with '_'
|
||||
'alphanumeric_filename' => true,
|
||||
|
||||
'use_package_routes' => true,
|
||||
// set this to false to customize route for file manager
|
||||
|
||||
// For laravel 5.2, please set to ['web', 'auth']
|
||||
'middlewares' => ['web'],
|
||||
'middlewares' => ['web', 'auth'],
|
||||
// determine middlewares that apply to all file manager routes
|
||||
// NOTE: for laravel 5.2, please use ['web', 'auth']
|
||||
|
||||
// Allow multi_user mode or not.
|
||||
// If true, laravel-filemanager create private folders for each signed-in user.
|
||||
'allow_multi_user' => true,
|
||||
// true : user can upload files to shared folder and their own folder
|
||||
// false : all files are put together in shared folder
|
||||
|
||||
// The database field to identify a user.
|
||||
// When set to 'id', the private folder will be named as the user id.
|
||||
// NOTE: make sure to use an unique field.
|
||||
'user_field' => 'id',
|
||||
'user_field' => 'user_name',
|
||||
// determine which column of users table will be used as user's folder name
|
||||
|
||||
'shared_folder_name' => 'shares',
|
||||
// the name of shared folder
|
||||
|
||||
'thumb_folder_name' => 'thumbs',
|
||||
// the name of thumb folder
|
||||
|
||||
//'images_dir' => 'public/photos/',
|
||||
//'images_url' => '/photos/',
|
||||
|
||||
// 'files_dir' => 'public/files/',
|
||||
// 'files_url' => '/files/',
|
||||
|
||||
// available since v1.3.0
|
||||
// valid image mimetypes
|
||||
'valid_image_mimetypes' => [
|
||||
'image/jpeg',
|
||||
'image/pjpeg',
|
||||
@@ -38,8 +36,8 @@ return [
|
||||
'image/gif',
|
||||
],
|
||||
|
||||
// available since v1.3.0
|
||||
// only when '/laravel-filemanager?type=Files'
|
||||
|
||||
// valid file mimetypes (only when '/laravel-filemanager?type=Files')
|
||||
'valid_file_mimetypes' => [
|
||||
'image/jpeg',
|
||||
'image/pjpeg',
|
||||
@@ -48,36 +46,4 @@ return [
|
||||
'application/pdf',
|
||||
'text/plain',
|
||||
],
|
||||
|
||||
// file extensions array, only for showing file information, it won't affect the upload process.
|
||||
'file_type_array' => [
|
||||
'pdf' => 'Adobe Acrobat',
|
||||
'docx' => 'Microsoft Word',
|
||||
'docx' => 'Microsoft Word',
|
||||
'xls' => 'Microsoft Excel',
|
||||
'xls' => 'Microsoft Excel',
|
||||
'zip' => 'Archive',
|
||||
'gif' => 'GIF Image',
|
||||
'jpg' => 'JPEG Image',
|
||||
'jpeg' => 'JPEG Image',
|
||||
'png' => 'PNG Image',
|
||||
'ppt' => 'Microsoft PowerPoint',
|
||||
'pptx' => 'Microsoft PowerPoint',
|
||||
],
|
||||
|
||||
// file extensions array, only for showing icons, it won't affect the upload process.
|
||||
'file_icon_array' => [
|
||||
'pdf' => 'fa-file-pdf-o',
|
||||
'docx' => 'fa-file-word-o',
|
||||
'docx' => 'fa-file-word-o',
|
||||
'xls' => 'fa-file-excel-o',
|
||||
'xls' => 'fa-file-excel-o',
|
||||
'zip' => 'fa-file-archive-o',
|
||||
'gif' => 'fa-file-image-o',
|
||||
'jpg' => 'fa-file-image-o',
|
||||
'jpeg' => 'fa-file-image-o',
|
||||
'png' => 'fa-file-image-o',
|
||||
'ppt' => 'fa-file-powerpoint-o',
|
||||
'pptx' => 'fa-file-powerpoint-o',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user