Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 498943d

Browse files
committed
Merge pull request #673 from cbastienbaron/patch-1
Add config per instance according documentation of FMElfinderBundle
2 parents 4264f1f + 390e433 commit 498943d

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

bundles/media/adapters/elfinder.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ Installation
2222
2323
# app/config/config.yml
2424
fm_elfinder:
25-
locale: "%locale%"
26-
editor: ckeditor
27-
connector:
28-
roots:
29-
media:
30-
driver: cmf_media.adapter.elfinder.phpcr_driver
31-
path: "%cmf_media.persistence.phpcr.media_basepath%"
32-
upload_allow: ['all']
33-
upload_max_size: 2M
25+
instances:
26+
default:
27+
locale: "%locale%"
28+
editor: ckeditor
29+
connector:
30+
roots:
31+
media:
32+
driver: cmf_media.adapter.elfinder.phpcr_driver
33+
path: "%cmf_media.persistence.phpcr.media_basepath%"
34+
upload_allow: ['all']
35+
upload_max_size: 2M
3436
3537
.. code-block:: xml
3638

0 commit comments

Comments
 (0)