Index: trunk/phase3/includes/StreamFile.php |
— | — | @@ -6,7 +6,10 @@ |
7 | 7 | */ |
8 | 8 | class StreamFile { |
9 | 9 | /** |
10 | | - * Stream a file to the browser, adding all the headings and fun stuff |
| 10 | + * Stream a file to the browser, adding all the headings and fun stuff. |
| 11 | + * Headers sent include: Content-type, Content-Length, Last-Modified, |
| 12 | + * and Content-Disposition. |
| 13 | + * |
11 | 14 | * @param $fname string Full name and path of the file to stream |
12 | 15 | * @param $headers array Any additional headers to send |
13 | 16 | * @param $sendErrors bool Send error messages if errors occur (like 404) |