-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathckfinder.yml
94 lines (83 loc) · 1.99 KB
/
ckfinder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
enabled: false # Change this value to "true" to enable the application
licenseName: ~
licenseKey: ~
roleSessionAttribute: 'CKFinder_UserRole'
serveStaticResources: true
checkSizeAfterScaling: true
secureImageUploads: true
csrfProtection: true
backends:
- name: 'default'
adapter: 'local'
baseUrl: 'http://localhost:8080/userfiles'
root: '{user.dir}/userfiles'
disallowUnsafeCharacters: true
forceAscii: false
hideFolders: ['.*', 'CVS', '__thumbs']
hideFiles: ['.*']
htmlExtensions: ['html', 'htm', 'xml', 'js']
overwriteOnUpload: false
useProxyCommand: false
resourceTypes:
- name: 'Files'
backend: 'default'
directory: '/files'
allowedExtensions: 7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip
deniedExtensions: ~
maxSize: 0
- name: 'Images'
backend: 'default'
directory: '/images'
allowedExtensions: bmp,jpeg,jpg,png
deniedExtensions: ~
maxSize: 0
privateDir:
backend: 'default'
path: '.ckfinder/'
thumbnails:
enabled: true
sizes:
- width: 150
height: 150
quality: 80
- width: 300
height: 300
quality: 80
- width: 500
height: 500
quality: 80
images:
maxWidth: 1600
maxHeight: 1200
quality: 80
sizes:
small:
width: 480
height: 320
quality: 80
medium:
width: 600
height: 480
quality: 80
large:
width: 800
height: 600
quality: 80
cache:
imagePreview: 86400 # 24 * 3600 (24h)
thumbnails: 31536000 # 24 * 3600 * 365 (1 year)
proxyCommand: 0
accessControl:
- role: '*'
resourceType: '*'
folder: /
FOLDER_VIEW: true
FOLDER_CREATE: true
FOLDER_RENAME: true
FOLDER_DELETE: true
FILE_VIEW: true
FILE_CREATE: true
FILE_RENAME: true
FILE_DELETE: true
IMAGE_RESIZE: true
IMAGE_RESIZE_CUSTOM: true