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