r108107 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108106‎ | r108107 | r108108 >
Date:01:33, 5 January 2012
Author:aaron
Status:ok
Tags:
Comment:
Added a bit to StreamFile docs
Modified paths:
  • /trunk/phase3/includes/StreamFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/StreamFile.php
@@ -6,7 +6,10 @@
77 */
88 class StreamFile {
99 /**
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+ *
1114 * @param $fname string Full name and path of the file to stream
1215 * @param $headers array Any additional headers to send
1316 * @param $sendErrors bool Send error messages if errors occur (like 404)

Status & tagging log