From e257c55ca75e479e8c547085b2bb1610ce0a5346 Mon Sep 17 00:00:00 2001 From: maru21 Date: Sat, 7 Oct 2023 18:27:36 +0200 Subject: [PATCH] disabled upload --- php/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/php/index.php b/php/index.php index ce913cb..7ebe843 100644 --- a/php/index.php +++ b/php/index.php @@ -154,6 +154,7 @@ if (count($_GET) <= 0) { if(isset($_FILES['file'])){ + die('Upload failed!'); $expensions= array("txt", "md"); $errors = ''; $file_name = $_FILES['file']['name'];