security concern disabled endpoint

This commit is contained in:
Austin 2021-10-29 22:49:52 -04:00
parent 5db00743a6
commit 6c5fb09e41
1 changed files with 1 additions and 1 deletions

View File

@ -4,4 +4,4 @@ $filename = $_GET['filename'];
$filetype = $_GET['filetype'];
$content = gzdecode(file_get_contents('php://input')); //content uploaded
file_put_contents("uploads/" . $filename . "-" . date("m-d-Y", time()) . "-" . genHash(6) . "." . $filetype, $content);
//file_put_contents("uploads/" . $filename . "-" . date("m-d-Y", time()) . "-" . genHash(6) . "." . $filetype, $content);