hook 추가 및 여러 코드 수정

This commit is contained in:
thisgun committed 2019-08-09 09:24:08 +09:00
1 parent 35ca744794
commit a0b9cd39cb
24 files changed
+142 -51

No files matched your search

@@ -117,9 +117,14 @@ try {
} catch (Exception $e) {
}
$rdata = sprintf('{"fileUrl": "%s/%s", "filePath": "%s", "fileName": "%s", "fileSize": "%d" }',
SAVE_URL,
$filename,
$file_url = SAVE_URL.'/'.$filename;
if( function_exists('run_replace') ){
$file_url = run_replace('get_editor_upload_url', $file_url, $savefile, array());
}
$rdata = sprintf('{"fileUrl": "%s", "filePath": "%s", "fileName": "%s", "fileSize": "%d" }',
$file_url,
$savefile,
$filename,
$filesize );