Skip to content

Commit 1608fac

Browse files
committed
Added some info
1 parent 3dc9a6a commit 1608fac

File tree

2 files changed

+289
-0
lines changed

2 files changed

+289
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Recommended bundles to use with:
5454
- [Plugins](/docs/advanced-configuration.md#plugins)
5555
- [Service as volume driver](/docs/advanced-configuration.md#symfony-service-as-a-volume-driver)
5656
- [Flysystem configuration](/docs/advanced-configuration.md#flysystem-configuration)
57+
- [Configuration dump](/docs/configuration-dump.md)
5758

5859
## Installation
5960

@@ -128,6 +129,7 @@ fm_elfinder:
128129
default:
129130
locale: '%locale%' # defaults to current request locale
130131
editor: ckeditor # other options are tinymce, tinymce4, fm_tinymce, form, simple, custom
132+
relative_path: false #default true, will produce absolute urls to specified file(s)
131133
#editor_template: custom template for your editor # default null
132134
#path_prefix: / # for setting custom assets path prefix, useful for non vhost configurations, i.e. http://127.0.0.1/mysite/
133135
#fullscreen: true|false # default is true, applies to simple and ckeditor editors

docs/configuration-dump.md

+287
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,287 @@
1+
# Bundle configuration dump
2+
3+
```
4+
# Default configuration for extension with alias: "fm_elfinder"
5+
fm_elfinder:
6+
configuration_provider: fm_elfinder.configurator.default
7+
assets_path: assets
8+
loader: fm_elfinder.loader.default
9+
instances: # Required
10+
11+
# Prototype
12+
name:
13+
locale: null
14+
cors_support: false
15+
editor: simple
16+
editor_template: null
17+
fullscreen: true
18+
theme: smoothness
19+
include_assets: true
20+
tinymce_popup_path: ''
21+
relative_path: true
22+
path_prefix: /
23+
visible_mime_types: []
24+
connector:
25+
debug: false
26+
binds:
27+
28+
# Prototype
29+
name:
30+
31+
# Prototype
32+
name: ~
33+
plugins:
34+
35+
# Prototype
36+
name:
37+
38+
# Prototype
39+
name: ~
40+
roots: # Required
41+
42+
# Prototype
43+
name:
44+
driver: LocalFileSystem # Required
45+
volume_id: 0
46+
path: ''
47+
autoload: false
48+
phash: ''
49+
trash_hash: ''
50+
locale: ''
51+
i18n_folder_name: false
52+
mime_detect: auto
53+
mimefile: ''
54+
security_voter: ''
55+
start_path: ''
56+
encoding: UTF-8
57+
url: ''
58+
alias: ''
59+
img_lib: auto
60+
tmb_path: .tmb
61+
tmb_path_mode: 511
62+
tmb_url: ''
63+
tmb_size: 48
64+
tmb_crop: true
65+
tmb_bg_color: '#ffffff'
66+
copy_overwrite: true
67+
copy_join: true
68+
copy_from: true
69+
copy_to: true
70+
upload_overwrite: true
71+
fileMode: 420
72+
upload_allow:
73+
74+
# Default:
75+
- image
76+
upload_deny:
77+
78+
# Default:
79+
- all
80+
upload_order:
81+
82+
# Defaults:
83+
- deny
84+
- allow
85+
upload_max_size: 0
86+
defaults:
87+
88+
# Prototype
89+
defaults: ~
90+
attributes:
91+
92+
# Prototype
93+
-
94+
pattern: ~
95+
read: true
96+
write: true
97+
locked: false
98+
hidden: false
99+
accepted_name: '/^\w[\w\s\.\%\-]*$/u'
100+
show_hidden: false
101+
disabled_commands: []
102+
tree_deep: 0
103+
check_subfolders: 1
104+
separator: /
105+
date_format: 'j M Y H:i'
106+
time_format: 'H:i'
107+
archive_mimes: []
108+
archivers:
109+
enabled: false
110+
create:
111+
112+
# Prototype
113+
-
114+
cmd: ~
115+
argc: ~
116+
ext: ~
117+
extract:
118+
119+
# Prototype
120+
-
121+
cmd: ~
122+
argc: ~
123+
ext: ~
124+
flysystem:
125+
enabled: false
126+
filesystem: ''
127+
type: ''
128+
adapter_service: ''
129+
options:
130+
local:
131+
enabled: false
132+
path: ''
133+
ftp:
134+
enabled: false
135+
host: ''
136+
username: ''
137+
password: ''
138+
port: 21
139+
passive: true
140+
ssl: true
141+
timeout: 30
142+
root: /
143+
directoryPerm: 484
144+
sftp:
145+
enabled: false
146+
host: ''
147+
username: ''
148+
password: ''
149+
port: 21
150+
privateKey: ''
151+
timeout: 10
152+
root: /
153+
azure:
154+
enabled: false
155+
account_name: ''
156+
account_key: ''
157+
container_name: ''
158+
aws_s3_v2:
159+
enabled: false
160+
key: ''
161+
secret: ''
162+
region: ''
163+
bucket_name: ''
164+
optional_prefix: ''
165+
base_url: ''
166+
aws_s3_v3:
167+
enabled: false
168+
key: ''
169+
secret: ''
170+
region: ''
171+
version: ''
172+
bucket_name: ''
173+
optional_prefix: ''
174+
endpoint: ''
175+
use_path_style_endpoint: false
176+
options:
177+
enabled: false
178+
ACL: ''
179+
copy_com:
180+
enabled: false
181+
consumer_key: ''
182+
consumer_secret: ''
183+
access_token: ''
184+
token_secret: ''
185+
optional_prefix: ''
186+
gridfs:
187+
enabled: false
188+
db_name: ''
189+
zip:
190+
enabled: false
191+
path: ''
192+
dropbox:
193+
enabled: false
194+
app: ''
195+
token: ''
196+
rackspace:
197+
enabled: false
198+
username: ''
199+
apikey: ''
200+
endpoint: ''
201+
container: ''
202+
region: ''
203+
glide_url: ''
204+
glide_key: ''
205+
plugins:
206+
207+
# Prototype
208+
name:
209+
210+
# Prototype
211+
name: ~
212+
driver_options:
213+
214+
# Prototype
215+
name:
216+
217+
# Prototype
218+
name: ~
219+
dropbox2_settings:
220+
enabled: false
221+
app_key: ~
222+
app_secret: ~
223+
access_token: ~
224+
aliasFormat: '%s@Dropbox'
225+
path: /
226+
separator: /
227+
acceptedName: '%s@Dropbox'
228+
rootCssClass: elfinder-navbar-root-dropbox
229+
publishPermission:
230+
requested_visibility: public
231+
getThumbSize: medium
232+
box_settings:
233+
enabled: false
234+
client_id: ~
235+
client_secret: ~
236+
accessToken: ~
237+
root: Box.com
238+
path: /
239+
separator: /
240+
tmbPath: ''
241+
tmbURL: ''
242+
tmpPath: ''
243+
acceptedName: '#^[^/\?*:|"<>]*[^./\?*:|"<>]$#'
244+
rootCssClass: elfinder-navbar-root-box
245+
onedrive_settings:
246+
enabled: false
247+
client_id: ~
248+
client_secret: ~
249+
accessToken: ~
250+
root: OneDrive.com
251+
OneDriveApiClient: ''
252+
path: /
253+
separator: /
254+
tmbPath: ''
255+
tmbURL: ''
256+
tmpPath: ''
257+
acceptedName: '#^[^/\?*:|"<>]*[^./\?*:|"<>]$#'
258+
rootCssClass: elfinder-navbar-root-onedrive
259+
useApiThumbnail: true
260+
ftp_settings:
261+
enabled: false
262+
host: ~
263+
user: ~
264+
password: ~
265+
path: ~
266+
s3_settings:
267+
enabled: false
268+
access_key: ~
269+
secret_key: ~
270+
bucket: ~
271+
tmp_path: ~
272+
signature: ~
273+
region: ~
274+
mysql_settings:
275+
enabled: false
276+
host: ~
277+
user: ~
278+
pass: ~
279+
db: ~
280+
port: null
281+
socket: null
282+
files_table: elfinder_file
283+
tmbPath: ''
284+
tmpPath: ''
285+
rootCssClass: elfinder-navbar-root-sql
286+
noSessionCache: hasdirs
287+
```

0 commit comments

Comments
 (0)