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();