Many improvements to the server #4
@ -93,7 +93,7 @@ try {
|
|||||||
$secret = $_POST['secret']; // The secret key
|
$secret = $_POST['secret']; // The secret key
|
||||||
$file = $_FILES['sharex']; // The uploaded file
|
$file = $_FILES['sharex']; // The uploaded file
|
||||||
|
|
||||||
// Page to show if someone visits the upload page
|
// Page to show if someone visits the upload script
|
||||||
if (!$secret && !$file) {
|
if (!$secret && !$file) {
|
||||||
returnJson(array(
|
returnJson(array(
|
||||||
'status' => 'OK',
|
'status' => 'OK',
|
||||||
|
Loading…
Reference in New Issue
Block a user