summaryrefslogtreecommitdiff
path: root/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/upload.php b/upload.php
index 34c7668..c13b193 100644
--- a/upload.php
+++ b/upload.php
@@ -6,7 +6,7 @@ if (isset($_GET['df'])) {
system("df -h --output=avail / | tail -1");
exit;
}
-if ($_SERVER['REQUEST_METHOD'] != 'POST') {
+if ($_SERVER['REQUEST_METHOD'] != 'POST' && $_SERVER['REQUEST_METHOD'] != 'PUT') {
exit;
}