mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-05-07 16:36:24 +02:00
Update download.php
This commit is contained in:
@@ -32,10 +32,11 @@ $maxsize = max_size;
|
||||
$file = $_GET['file'];
|
||||
$fileURL = base64_decode($file);
|
||||
$filesize = filesize($fileURL);
|
||||
$baseurl = file_url_destination;
|
||||
|
||||
// Check if file exists
|
||||
if(!file_exists($fileURL){
|
||||
header("Location: " . file_url_destination);
|
||||
header('Location: ' . $baseurl);
|
||||
}
|
||||
|
||||
$core = new Core();
|
||||
|
||||
Reference in New Issue
Block a user