added more comments

This commit is contained in:
Lee 2023-04-09 12:02:54 +01:00
parent 4174005f7c
commit cb5d859752

@ -26,8 +26,8 @@ function returnJson($status, $message, $timeTaken = null) {
die();
}
$token = $_POST['secret'];
$file = $_FILES['sharex'];
$token = $_POST['secret']; // The provided secret key
$file = $_FILES['sharex']; // The uploaded file
// Check if the token is valid
if (!checkToken($token)) {