-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add mime types to ignore to config - omit ext from file rename - cleanup and more consistent with eslint - update rdme
- Loading branch information
Showing
8 changed files
with
2,244 additions
and
7,196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,46 @@ | ||
<?php | ||
|
||
return [ | ||
// ignore files pattern | ||
/* | ||
* ignore files pattern | ||
*/ | ||
'ignore_files' => '/^\..*/', | ||
|
||
// filesystem disk | ||
/* | ||
* filesystem disk | ||
*/ | ||
'storage_disk'=> 'public', | ||
|
||
// remove any file special chars except (. _ -) | ||
/* | ||
* remove any file special chars except (. _ -) | ||
*/ | ||
'allowed_fileNames_chars'=> '.\_\-', | ||
|
||
// remove any folder special chars except (_ -) | ||
// to add & nest folders in one go use '\/\_\-' | ||
'allowed_folderNames_chars'=> '\_\-', | ||
/* | ||
* remove any folder special chars except (_ -) | ||
* | ||
* to add & nest folders in one go use '\/\_\-' | ||
*/ | ||
'allowed_folderNames_chars'=> '\/\_\-', | ||
|
||
// when file names gets cleand up | ||
/* | ||
* disallow uploading files with the following mimetypes | ||
* https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types | ||
*/ | ||
'unallowed_mimes' => ['php', 'java'], | ||
|
||
/* | ||
* when file names gets cleand up | ||
*/ | ||
'sanitized_text'=> 'sanitized', | ||
|
||
// media manager root url | ||
/* | ||
* media manager root url | ||
*/ | ||
'root_url'=> '/media', | ||
|
||
// css farmework | ||
/* | ||
* css farmework | ||
*/ | ||
'framework'=> env('MIX_MM_FRAMEWORK'), | ||
]; |
Oops, something went wrong.