You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
FTP
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user