2016-10-27 49 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到另一臺服務器。

相關問題