mirror of
https://github.com/anatolykopyl/file-directory.git
synced 2026-06-15 06:53:46 +00:00
move to .removed instead of unlinking
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<?php
|
||||
unlink('files/' . $_POST["file"]);
|
||||
// unlink('files/' . $_POST["file"]);
|
||||
rename("files/" . $_POST["file"], ".removed/" . $_POST["file"]);
|
||||
?>
|
||||
Reference in New Issue
Block a user