From c4bfc12b7061b8191f93eaf9d1c5667a7c3617e0 Mon Sep 17 00:00:00 2001 From: SuperDev Date: Thu, 22 Dec 2022 13:54:03 -0600 Subject: [PATCH] Update download.php --- download.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/download.php b/download.php index 13e8a44..efe9a07 100644 --- a/download.php +++ b/download.php @@ -38,6 +38,9 @@ $baseurl = file_url_destination; if(!file_exists($fileURL)){ http_response_code(404); } +if($file == ''){ +http_response_code(404); +} $core = new Core(); ?>