|
|
|
@ -28,8 +28,8 @@
|
|
|
|
|
header('Content-Type: application/octetstream; name="' . $output_file . '"'); //This should work for IE & Opera
|
|
|
|
|
header('Content-Type: application/octet-stream; name="' . $output_file . '"'); //This should work for the rest
|
|
|
|
|
header('Content-Disposition: inline; filename="' . $output_file . '"');
|
|
|
|
|
header("Content-length: ".intval(filesize($_SESSION['_config'][filepath]."/tarballs/$fname")));
|
|
|
|
|
readfile($_SESSION['_config'][filepath]."/tarballs/$fname");
|
|
|
|
|
header("Content-length: ".intval(filesize($_SESSION['_config']['filepath']."/tarballs/$fname")));
|
|
|
|
|
readfile($_SESSION['_config']['filepath']."/tarballs/$fname");
|
|
|
|
|
exit;
|
|
|
|
|
}
|
|
|
|
|
loadem("index");
|
|
|
|
|