| Author | Dave Jarvis <email> |
|---|---|
| Date | 2026-02-14 13:47:51 GMT-0800 |
| Commit | 34c82d258cf15905195e0a19ca3732ecb18d8a84 |
| Parent | 68d8f3d |
| header("Content-Type: " . $this->mediaType); | ||
| header("Content-Length: " . $this->size); | ||
| - header("Content-Disposition: inline; filename=\"" . addslashes($this->name) . "\""); | ||
| + header("Content-Disposition: attachment; filename=\"" . addslashes(basename($this->name)) . "\""); | ||
| } | ||
| } | ||
| - ini_set('zlib.output_compression', '0'); | ||
| header('X-LiteSpeed-DoNotGzip: on'); | ||
| - header('Cache-Control: no-transform'); | ||
| - header('Content-Encoding: none'); | ||
| + ini_set('zlib.output_compression', '0'); | ||
| $file->emitRawHeaders(); |
| Delta | 2 lines added, 4 lines removed, 2-line decrease |
|---|