diff --git a/download.php b/download.php
index fa800ec..ffaddc0 100644
--- a/download.php
+++ b/download.php
@@ -2,7 +2,7 @@
if(isset($_GET['i']) && $_GET['i']!=""){
$url=$_GET['i'];
$fname=explode('/',$url);
- header("Content-disposition: attachment;filename=".$fname[1]);
+ header("Content-disposition: attachment;filename=".$fname[2]);
echo readfile($url);
}
else{
diff --git a/type.php b/type.php
index 12edcbf..d486b77 100644
--- a/type.php
+++ b/type.php
@@ -115,6 +115,9 @@ function folderSize ($dir)
$files[$i]
";
+ if($typ!=4){
+ echo "Download";
+ }
if($delStat==0){
echo "