2016-10-27 52 views
1

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

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

enter image description here

回答

0

在config.js指定此paramerter:

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

而且你必须dublicate ckfinder到另一台服务器。

相关问题