diff -r 000000000000 -r d970ebf37754 wp/wp-content/plugins/wp-filemanager/incl/download.inc.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-content/plugins/wp-filemanager/incl/download.inc.php Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,71 @@ +$StrAccessDenied"; + exit(); + } + +// header("Content-Type: ".get_mimetype($filename)); +// header("Content-Length: ".filesize($fullpath)); +// if ($_GET['action'] == "download"); + // header("Content-Disposition: attachment; filename=$filename"); + +// readfile($fullpath); +} + print ""; + print ""; + print ""; + print ""; + print ""; + print ""; + print ""; + print ""; + print "
"; + print " $StrDownload \"".htmlentities($filename)."\""; + print ""; + print "$StrBack"; + print "
"; + print "

"; + print "$StrDownloadClickLink

"; + print "$StrDownloadClickHere \"".htmlentities($filename)."\""; + print "

"; + print "
"; +} +else + print "$StrAccessDenied"; +*/ +?>