我是roxy fileman的新手,我将它与ckeditor集成,一切顺利,但我的上传路径有问题...我试图从conf.json更改它但它总是把我带到文件夹在我的服务器(Wamp服务器)的根目录中调用“1”...我还创建了一个名为“SESSION_PATH_KEY”的会话变量,以便设置上传目录的路径但也无法工作......下面是conf.json文件的代码。
{
"FILES_ROOT": "",
"RETURN_URL_PREFIX": "",
"SESSION_PATH_KEY": "",
"THUMBS_VIEW_WIDTH": "140",
"THUMBS_VIEW_HEIGHT": "120",
"PREVIEW_THUMB_WIDTH": "100",
"PREVIEW_THUMB_HEIGHT":"100",
"MAX_IMAGE_WIDTH": "1000",
"MAX_IMAGE_HEIGHT": "1000",
"INTEGRATION": "custom",
"DIRLIST": "php/dirtree.php",
"CREATEDIR": "php/createdir.php",
"DELETEDIR": "php/deletedir.php",
"MOVEDIR": "php/movedir.php",
"COPYDIR": "php/copydir.php",
"RENAMEDIR": "php/renamedir.php",
"FILESLIST": "php/fileslist.php",
"UPLOAD": "php/upload.php",
"DOWNLOAD": "php/download.php",
"DOWNLOADDIR": "php/downloaddir.php",
"DELETEFILE": "php/deletefile.php",
"MOVEFILE": "php/movefile.php",
"COPYFILE": "php/copyfile.php",
"RENAMEFILE": "php/renamefile.php",
"GENERATETHUMB": "php/thumb.php",
"DEFAULTVIEW": "list",
"FORBIDDEN_UPLOADS": "zip js jsp jsb mhtml mht xhtml xht php phtml php3 php4 php5 phps shtml jhtml pl sh py cgi exe application gadget hta cpl msc jar vb jse ws wsf wsc wsh ps1 ps2 psc1 psc2 msh msh1 msh2 inf reg scf msp scr dll msi vbs bat com pif cmd vxd cpl htpasswd htaccess",
"ALLOWED_UPLOADS": "",
"FILEPERMISSIONS": "0644",
"DIRPERMISSIONS": "0755",
"LANG": "auto",
"DATEFORMAT": "dd/MM/yyyy HH:mm",
"OPEN_LAST_DIR": "yes"
}
任何打开可以帮助我将上传目录设置为此“mydomain / files /”
答案 0 :(得分:1)
改变你的路径
"FILES_ROOT": "/test-path",
其中test-path是root上存在的文件夹名称。
答案 1 :(得分:0)
知道这已经过时但遇到了类似的问题。
看看:
"INTEGRATION": "custom",
它应该是您的环境的ckeditor:
"INTEGRATION": "ckeditor",
然后如前所述,将您的路径设置为文件夹:
"FILES_ROOT": "/files",