aboutsummaryrefslogtreecommitdiffstats
path: root/php/upload.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 12:48:13 +0200
committeradam <adam@>2021-02-12 12:48:13 +0200
commit527301b44e44e994c89ba4db47a49e37eaef4d1b (patch)
tree8287e7883f4db9f04a662f55162077ed9b9392fd /php/upload.php
parent52e1f82a3952766ed8e5706090eec6fe70efeab3 (diff)
downloadfileup-527301b44e44e994c89ba4db47a49e37eaef4d1b.tar.gz
] error
Diffstat (limited to 'php/upload.php')
-rw-r--r--php/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/upload.php b/php/upload.php
index ee4d8fe..42a8bf6 100644
--- a/php/upload.php
+++ b/php/upload.php
@@ -2,7 +2,7 @@
require_once "database.php";
require_once "configuration.php";
-if (!isset( $_POST["filename") || !isset($_POST["the_file"])
+if (!isset( $_POST["filename"]) || !isset($_POST["the_file"]))
{
http_response_code(400);
error_log("someone tried to upload something impropperly");