1
我使用Symfony 2.3,FMElfinderBundle和FOSUserBundle。這兩個捆綁工作正常。我的問題涉及如何連接兩個捆綁。當用戶註冊時,我想爲他創建目錄,並告訴FMElfinderBundle爲該用戶使用該目錄。另一位用戶將有另一個目錄等elfinder與多個用戶
我知道FMElfinderBundle可以有多個起源於config.yml
fm_elfinder:
locale: %locale%
editor: ckeditor # other choices are tinymce or simple
showhidden: false # defaults to false
fullscreen: true # defaults true, applies to simple and ckeditor editors
connector:
debug: false # defaults to false
roots: # at least one root must be defined
uploads:
driver: LocalFileSystem
path: uploads
upload_allow: ['image/png', 'image/jpg', 'image/jpeg']
upload_deny: ['all']
upload_max_size: 2M
如何動態分配用戶的所有權限的目錄?任何想法?什麼是最好的解決方案?也許另一個文件管理器