我们进去看看:
function kl_album_upload_file($filename, $errorNum, $tmpfile, $filesize, $filetype, $type, $...文件上传目录(content/plugins/kl_album/upload)不可写";
}
doAction('kl_album_upload', $tmpfile);
//缩略
$imtype...move_uploaded_file($tmpfile ,$attachpath)){
@unlink($tmpfile);
return "上传失败。...move_uploaded_file($tmpfile ,$attachpath)){
@unlink($tmpfile);
return "上传失败。...move_uploaded_file($tmpfile ,$attachpath)){
这里,我们可以发现上传的文件名是md5(filename) . date("YmdHis") . rand