如何使用PHP更改CKFinder [CKEditor]上的默认图像上载路径更改 [英] How to change default image uploaded path change on CKFinder[CKEditor] using php
问题描述
我必须使用CKEditor,在其中使用CKFinder用于上传图像的方式如何更改默认的上传路径。
I have to use CKEditor where using CKFinder use to uploaded images how to change default uploaded path.
如何更改默认的浏览路径。
How to change default browse path.
我在此上花了很多时间,任何人都可以帮助我。
I spent lot of time on this, any one help me.
预先感谢。
推荐答案
我不确定我是否完全理解您的问题,但是您是否尝试过将以下行添加到config.js文件中?
I'm not sure I completely understand your question, but have you tried adding the following lines to your config.js file?
config.filebrowserUploadUrl = / some / path / on / server;
和
config.filebrowserBrowseUrl = / some / path / on / server;
以下是您可以使用的不同变量的文档:
Here is the documentation on the different variables you can use:
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-filebrowserBrowseUrl
这篇关于如何使用PHP更改CKFinder [CKEditor]上的默认图像上载路径更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!