2016-10-27 7 views
1

KCFinder를 사용하여 텍스트 필드의 이미지를 업로드하고 있으며이 이미지를 다른 서버에 저장해야합니다. de img가 업로드 될 서버에 의해 자동 생성 된 id가 저장되는 디렉토리이지만 img를 업로드하려고하면 "unknow error"오류가 발생합니다. config.js에서KCFinder - 다른 서버에 이미지 업로드

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

enter image description here

답변

0

이 paramerter 지정 : 내 업로드 설정은

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

을 그리고 당신은 다른 서버로 ckfinder를 dublicate해야합니다.