cleanup tmp file

This commit is contained in:
Daniel Winzen 2017-08-07 21:05:58 +02:00
parent 5244f89340
commit 06dce903dc
No known key found for this signature in database
GPG key ID: 02560D377A8647DB

View file

@ -159,6 +159,7 @@ if(!empty($_POST['unzip']) && !empty($_POST['files'])){
ftp_recursive_upload($ftp, $tmpdir);
rmdir($tmpdir);
$zip->close();
unlink($tmpfile);
}
}