Update download.php

pull/8/head
SuperDev 3 years ago committed by GitHub
parent 292e32a498
commit 1ee55f1655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,6 +31,7 @@ $maxsize = max_size;
// Get uploaded file
$file = $_GET['file'];
$fileURL = base64_decode($file);
$filesize = filesize($fileURL);
$core = new Core();
@ -53,7 +54,7 @@ if(isset($_POST['submit'])){
?>
<!--<form>-->
<div class="download-area">
<button class="download-btn" data-timer="<?=waitfor?>">Download(<?=sizeFormat($fileURL)?>)</button>
<button class="download-btn" data-timer="<?=waitfor?>">Download(<?=sizeFormat($filesize)?>)</button>
<ul>
<li>Report files: <a href="mailto:<?=app_contact_email?>"><?=app_contact_email?></a></li>
</ul>

Loading…
Cancel
Save