Php Fm Elfinder未提供正确的路径
我在我们的网页上使用elfinder作为文件系统。我们在yml文件中设置了FolderPath,在将位置从article_images更改为images/article_images后,我遇到了一些问题 单击输入字段时,将打开elFinder。然后我浏览一张照片,点击dobble,输入字段应该填充路径 这实际上应该是/images/article\u images/ 这很奇怪,因为yml中的位置必须正确,因为:Php Fm Elfinder未提供正确的路径,php,symfony,elfinder,Php,Symfony,Elfinder,我在我们的网页上使用elfinder作为文件系统。我们在yml文件中设置了FolderPath,在将位置从article_images更改为images/article_images后,我遇到了一些问题 单击输入字段时,将打开elFinder。然后我浏览一张照片,点击dobble,输入字段应该填充路径 这实际上应该是/images/article\u images/ 这很奇怪,因为yml中的位置必须正确,因为: elFinder将打开右侧文件夹 右键单击图片并按“链接”时,会在新选项卡中打开
- elFinder将打开右侧文件夹
- 右键单击图片并按“链接”时,会在新选项卡中打开该图片,并显示正确的url(带/images)
article_form:
locale: %locale% # defaults to current request locale
editor: form # other choices are tinymce or simple, and form
fullscreen: true # defaults true, applies to simple and ckeditor editors
include_assets: true # disable if you want to handle loading of the javascript and css assets yourself
connector:
debug: false # defaults to false
roots: # at least one root must be defined
uploads:
driver: LocalFileSystem
path: %article_images%
upload_allow: ['image/png', 'image/jpg', 'image/jpeg']
upload_deny: ['all']
upload_max_size: 2M
url: %article_images%
我的配置中是否缺少一些内容?您好,鲁本,什么值包含%article\u images%变量,以及文件相对于web根的物理位置?您好,鲁本,什么值包含%article\u images%变量,以及文件相对于web根的物理位置?