| Author | DaveJarvis <email> |
|---|---|
| Date | 2023-11-10 19:52:43 GMT-0800 |
| Commit | 57b27e36d4b205db206c855986175d74c3205a93 |
| Parent | bc44a5f |
| Delta | 2 lines added, 2 lines removed |
| header( 'Cache-Control: public, must-revalidate, post-check=0, pre-check=0' ); | ||
| header( "Content-Disposition: attachment; filename=\"$filename\"" ); | ||
| - header( "Content-Type: $content_type" ); | ||
| $content_length = $size; | ||
| } | ||
| - header( "Content-Length: $content_length" ); | ||
| header( 'Accept-Ranges: bytes' ); | ||
| + header( "Content-Length: $content_length" ); | ||
| + header( "Content-Type: $content_type" ); | ||
| // If the file doesn't exist, don't count it as a download. | ||