MakBek
|
Re:Corrupted Downloads (fixed) - 2006/01/05 21:58
Hi all,
I've fixed the problem, so in the file "/components/com_remository/com_remository_startdown.php" I've made this change:
Old code
| Code: |
//Begin writing headers
header("Cache-Control: max-age=60"«»);
header("Cache-Control: private"«»);
header("Content-Description: File Transfer"«»);
|
Replace with this new code
| Code: |
//Begin MakBek Fix - Problem fixed: 1 byte more at
//the start of the file (2006/01/05)
while (@ob_end_clean());
//Begin writing headers
//header("Cache-Control: max-age=60"«»);
//header("Cache-Control: private"«»);
header("Content-Description: File Transfer"«»);
header("Pragma: public"«»);
header("Cache-Control: must-revalidate, post-check=0, pre-check=0"«»);
header("Expires: 0"«»);
//End MakBek Fix - Problem fixed: 1 byte more at
//the start of the file (2006/01/05)
|
Try it ... and report problem please masbesc(at)tin.it
Thanks all
MakBek
|