1

我正在使用 KCFinder 上传我的文本字段的图像,我需要将这些图像保存在另一台服务器中。保存它的目录 id 由将上传 de img 的 de 服务器自动生成,但是当我尝试上传 de img 时,我收到“未知错误”错误。我的上传配置是:

'uploadURL' => "http://server_ip/api_cms/uploads/kcfinder_".$_COOKIE['hash_UPLOADO2'],
'uploadDir' => "upload",

在此处输入图像描述

4

1 回答 1

0

在 config.js 中指定这个参数:

CKFinder.customConfig = function( config )
{
    config.connectorPath = "http://anotherserver/ckfinder/core/connector/php/connector.php";
};

而且您必须将 ckfinder 复制到另一台服务器。

于 2017-08-23T03:44:22.993 回答