aboutsummaryrefslogtreecommitdiffstats
path: root/php/upload.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 13:19:04 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 13:19:04 +0200
commit774fbfdbabf626ccaf768bf421f8b5ed5ce0172b (patch)
treec4da62ad8a3c0967e5e133a63b2cebaf88b937ae /php/upload.php
parent1ed8d0f9259ccb8d9adc0cf12267043ef351e5ec (diff)
parent527301b44e44e994c89ba4db47a49e37eaef4d1b (diff)
downloadfileup-774fbfdbabf626ccaf768bf421f8b5ed5ce0172b.tar.gz
Merge branch 'master' of https://github.com/alexvitkov/india
Diffstat (limited to 'php/upload.php')
-rw-r--r--php/upload.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/php/upload.php b/php/upload.php
index bd72b6b..42a8bf6 100644
--- a/php/upload.php
+++ b/php/upload.php
@@ -1,8 +1,8 @@
<?php
-require_once "database.php"
-require_once "configuration.php"
+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");