123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?php
- return [
-
- 'disk' => 'public',
- 'route' => [
- 'name' => '/ueditor/server',
- 'options' => [
-
- ],
- ],
-
- 'hash_filename' => false,
-
- 'upload' => [
-
-
- 'imageActionName' => 'upload-image',
- 'imageFieldName' => 'upfile',
- 'imageMaxSize' => 2 * 1024 * 1024,
- 'imageAllowFiles' => ['.png', '.jpg', '.jpeg', '.gif', '.bmp'],
- 'imageCompressEnable' => true,
- 'imageCompressBorder' => 1600,
- 'imageInsertAlign' => 'none',
- 'imageUrlPrefix' => '',
- 'imagePathFormat' => '/uploads/image/{yyyy}/{mm}/{dd}/',
-
-
-
-
-
-
-
-
-
-
-
-
-
- 'scrawlActionName' => 'upload-scrawl',
- 'scrawlFieldName' => 'upfile',
- 'scrawlPathFormat' => '/uploads/image/{yyyy}/{mm}/{dd}/',
- 'scrawlMaxSize' => 2048000,
- 'scrawlUrlPrefix' => '',
- 'scrawlInsertAlign' => 'none',
-
- 'snapscreenActionName' => 'upload-image',
- 'snapscreenPathFormat' => '/uploads/image/{yyyy}/{mm}/{dd}/',
- 'snapscreenUrlPrefix' => '',
- 'snapscreenInsertAlign' => 'none',
-
- 'catcherLocalDomain' => ['127.0.0.1', 'localhost', 'img.baidu.com'],
- 'catcherActionName' => 'catch-image',
- 'catcherFieldName' => 'source',
- 'catcherPathFormat' => '/uploads/image/{yyyy}/{mm}/{dd}/',
- 'catcherUrlPrefix' => '',
- 'catcherMaxSize' => 2048000,
- 'catcherAllowFiles' => ['.png', '.jpg', '.jpeg', '.gif', '.bmp'],
-
- 'videoActionName' => 'upload-video',
- 'videoFieldName' => 'upfile',
- 'videoPathFormat' => '/uploads/video/{yyyy}/{mm}/{dd}/',
- 'videoUrlPrefix' => '',
- 'videoMaxSize' => 102400000,
- 'videoAllowFiles' => [
- '.flv', '.swf', '.mkv', '.avi', '.rm', '.rmvb', '.mpeg', '.mpg',
- '.ogg', '.ogv', '.mov', '.wmv', '.mp4', '.webm', '.mp3', '.wav', '.mid', ],
-
- 'fileActionName' => 'upload-file',
- 'fileFieldName' => 'upfile',
- 'filePathFormat' => '/uploads/file/{yyyy}/{mm}/{dd}/',
- 'fileUrlPrefix' => '',
- 'fileMaxSize' => 51200000,
- 'fileAllowFiles' => [
- '.png', '.jpg', '.jpeg', '.gif', '.bmp',
- '.flv', '.swf', '.mkv', '.avi', '.rm', '.rmvb', '.mpeg', '.mpg',
- '.ogg', '.ogv', '.mov', '.wmv', '.mp4', '.webm', '.mp3', '.wav', '.mid',
- '.rar', '.zip', '.tar', '.gz', '.7z', '.bz2', '.cab', '.iso',
- '.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.pdf', '.txt', '.md', '.xml',
- ],
-
- 'imageManagerActionName' => 'list-image',
- 'imageManagerListPath' => '/uploads/image/',
- 'imageManagerListSize' => 20,
- 'imageManagerUrlPrefix' => '',
- 'imageManagerInsertAlign' => 'none',
- 'imageManagerAllowFiles' => ['.png', '.jpg', '.jpeg', '.gif', '.bmp'],
-
- 'fileManagerActionName' => 'list-file',
- 'fileManagerListPath' => '/uploads/file/',
- 'fileManagerUrlPrefix' => '',
- 'fileManagerListSize' => 20,
- 'fileManagerAllowFiles' => [
- '.png', '.jpg', '.jpeg', '.gif', '.bmp',
- '.flv', '.swf', '.mkv', '.avi', '.rm', '.rmvb', '.mpeg', '.mpg',
- '.ogg', '.ogv', '.mov', '.wmv', '.mp4', '.webm', '.mp3', '.wav', '.mid',
- '.rar', '.zip', '.tar', '.gz', '.7z', '.bz2', '.cab', '.iso',
- '.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.pdf', '.txt', '.md', '.xml',
- ],
- ],
- ];
|