Révision ed74d101 src/backup.php
b/src/backup.php | ||
---|---|---|
36 | 36 |
if (file_exists($attachment_location)) { |
37 | 37 |
header($_SERVER["SERVER_PROTOCOL"] . " 200 OK"); |
38 | 38 |
header("Cache-Control: public"); // needed for i.e. |
39 |
header("Content-Type: application/gzip"); |
|
39 |
//header("Content-Type: application/gzip");
|
|
40 | 40 |
header("Content-Transfer-Encoding: Binary"); |
41 | 41 |
header("Content-Length:".filesize($attachment_location)); |
42 | 42 |
header("Content-Disposition: attachment; filename=" . $backup_filename); |
Formats disponibles : Unified diff