한글도메인 이미지 업로드시 무한 루프 도는현상
한글도메인의 경우
plugin/editor/cheditor5/popup/js/image.js 의
//UploadScript = oEditor.config.editorPath + 'imageUpload/upload.php';
//DeleteScript = oEditor.config.editorPath + 'imageUpload/delete.php';
이 코드를 주석 처리하신후 바로 아래에
UploadScript = 'http://아이피/~계정/g5/plugin/editor/cheditor5/imageUpload/upload.php';
DeleteScript = 'http://아이피/~계정/g5/plugin/editor/cheditor5/imageUpload/delete.php';
과 같이 수정해 보시기 바랍니다.
UploadScript = 'http://218.38.12.112/~kagla/g5/plugin/editor/cheditor5/imageUpload/upload.php';
DeleteScript = 'http://218.38.12.112/~kagla/g5/plugin/editor/cheditor5/imageUpload/delete.php';
또는 영문 서브도메인으로도 가능하므로
UploadScript = 'http://sub.domain.com/g5/plugin/editor/cheditor5/imageUpload/upload.php';
DeleteScript = 'http://sub.domain.com/g5/plugin/editor/cheditor5/imageUpload/delete.php';
이런식으로 수정해 보시기 바랍니다.
plugin/editor/cheditor5/popup/js/image.js 의
//UploadScript = oEditor.config.editorPath + 'imageUpload/upload.php';
//DeleteScript = oEditor.config.editorPath + 'imageUpload/delete.php';
이 코드를 주석 처리하신후 바로 아래에
UploadScript = 'http://아이피/~계정/g5/plugin/editor/cheditor5/imageUpload/upload.php';
DeleteScript = 'http://아이피/~계정/g5/plugin/editor/cheditor5/imageUpload/delete.php';
과 같이 수정해 보시기 바랍니다.
UploadScript = 'http://218.38.12.112/~kagla/g5/plugin/editor/cheditor5/imageUpload/upload.php';
DeleteScript = 'http://218.38.12.112/~kagla/g5/plugin/editor/cheditor5/imageUpload/delete.php';
또는 영문 서브도메인으로도 가능하므로
UploadScript = 'http://sub.domain.com/g5/plugin/editor/cheditor5/imageUpload/upload.php';
DeleteScript = 'http://sub.domain.com/g5/plugin/editor/cheditor5/imageUpload/delete.php';
이런식으로 수정해 보시기 바랍니다.
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 7개
UploadScript = 'http://xn--9t4aaab2mb3wi.com/g5/plugin/editor/cheditor5/imageUpload/upload.php';
DeleteScript = 'http://xn--9t4aaab2mb3wi.com/g5/plugin/editor/cheditor5/imageUpload/delete.php';
DeleteScript = 'http://xn--392bm32a.net/cheditor5/imageUpload/delete.php';
UploadScript = 'http://dssalsoo.nemoweb.kr/cheditor5/imageUpload/upload.php';
DeleteScript = 'http://dssalsoo.nemoweb.kr/cheditor5/imageUpload/delete.php';
한글도메인과 영문도메인 둘다 쓰면 되는건가요 .. 왜 안될까요 .. ㅠㅠ