@@ -488,10 +488,10 @@ discard block |
||
| 488 | 488 | header('Content-type: Zip'); |
| 489 | 489 | header('Content-Description: File Transfer'); |
| 490 | 490 | header('Content-Disposition: attachment; filename=Faveo.zip'); |
| 491 | - //header("Content-type: application/zip"); |
|
| 492 | - header('Content-Length: '.filesize($release)); |
|
| 493 | - //ob_clean(); |
|
| 494 | - flush(); |
|
| 491 | + //header("Content-type: application/zip"); |
|
| 492 | + header('Content-Length: '.filesize($release)); |
|
| 493 | + //ob_clean(); |
|
| 494 | + flush(); |
|
| 495 | 495 | readfile("$release"); |
| 496 | 496 | exit; |
| 497 | 497 | } |
@@ -526,10 +526,10 @@ discard block |
||
| 526 | 526 | header('Content-type: Zip'); |
| 527 | 527 | header('Content-Description: File Transfer'); |
| 528 | 528 | header('Content-Disposition: attachment; filename=Faveo.zip'); |
| 529 | - //header("Content-type: application/zip"); |
|
| 530 | - header('Content-Length: '.filesize($release)); |
|
| 531 | - //ob_clean(); |
|
| 532 | - flush(); |
|
| 529 | + //header("Content-type: application/zip"); |
|
| 530 | + header('Content-Length: '.filesize($release)); |
|
| 531 | + //ob_clean(); |
|
| 532 | + flush(); |
|
| 533 | 533 | readfile("$release"); |
| 534 | 534 | exit; |
| 535 | 535 | } |