projects
/
fusionforge
/
fusionforge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from 5.2: miscellaneous fixes
[fusionforge/fusionforge.git]
/
src
/
www
/
frs
/
download.php
diff --git
a/src/www/frs/download.php
b/src/www/frs/download.php
index 2727e470508b07d235a7cb9970e666a70311967b..66e6210b6e451e2c698690f42f75c388db617344 100644
(file)
--- a/
src/www/frs/download.php
+++ b/
src/www/frs/download.php
@@
-47,7
+47,7
@@
function send_file ($filename,$filepath,$file_id=NULL) {
}
header('Content-disposition: attachment; filename="'.str_replace('"', '', $filename).'"');
}
header('Content-disposition: attachment; filename="'.str_replace('"', '', $filename).'"');
-
header
("Content-type: application/binary");
+
sysdebug_off
("Content-type: application/binary");
$length = filesize($filepath);
header("Content-length: $length");
$length = filesize($filepath);
header("Content-length: $length");