CHEditor에서 이미지 업로드시 서버 내 경로가 노출되는 문제 수정 #248
This commit is contained in:
@ -145,9 +145,8 @@ if (function_exists('run_replace')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$rdata = sprintf(
|
$rdata = sprintf(
|
||||||
'{"fileUrl": "%s", "filePath": "%s", "fileName": "%s", "fileSize": "%d" }',
|
'{"fileUrl": "%s", "fileName": "%s", "fileSize": "%d" }',
|
||||||
$file_url,
|
$file_url,
|
||||||
$savefile,
|
|
||||||
$filename,
|
$filename,
|
||||||
$filesize
|
$filesize
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user