move to .removed instead of unlinking

This commit is contained in:
2021-10-23 18:17:14 +03:00
parent 99acb1bd2a
commit 0c6f9f0aa3

View File

@@ -1,3 +1,4 @@
<?php
unlink('files/' . $_POST["file"]);
// unlink('files/' . $_POST["file"]);
rename("files/" . $_POST["file"], ".removed/" . $_POST["file"]);
?>