This commit is contained in:
icret
2023-03-11 01:44:42 +08:00
parent b4ec93208d
commit 30e18118e1
4 changed files with 7 additions and 7 deletions

View File

@@ -1829,8 +1829,8 @@ function any_upload($remoteFile = null, $localFile = null, $way = 'upload')
// 关闭FTP
$ftp->close();
// 是否删除本地文件
if ($config['ftped_del_local']) {
// FTP上传后是否删除本地文件
if ($config['ftp_del_local']) {
@unlink($localFile);
}
}