From 4b2c042f7b078629f2f7e77dc6f09151f99315f2 Mon Sep 17 00:00:00 2001 From: SuperDev Date: Thu, 22 Dec 2022 13:46:33 -0600 Subject: [PATCH] Update download.php --- download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.php b/download.php index 318fee6..4f98db3 100644 --- a/download.php +++ b/download.php @@ -36,7 +36,7 @@ $baseurl = file_url_destination; // Check if file exists if(!file_exists($fileURL){ -header("Location: $baseurl"); + http_response_code(404); } $core = new Core();