dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca0d5f
)
Added a bit to StreamFile docs
author
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 5 Jan 2012 01:33:58 +0000
(
01:33
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 5 Jan 2012 01:33:58 +0000
(
01:33
+0000)
includes/StreamFile.php
patch
|
blob
|
history
diff --git
a/includes/StreamFile.php
b/includes/StreamFile.php
index
0a8309f
..
8acbf9d
100644
(file)
--- a/
includes/StreamFile.php
+++ b/
includes/StreamFile.php
@@
-6,7
+6,10
@@
*/
class StreamFile {
/**
- * Stream a file to the browser, adding all the headings and fun stuff
+ * Stream a file to the browser, adding all the headings and fun stuff.
+ * Headers sent include: Content-type, Content-Length, Last-Modified,
+ * and Content-Disposition.
+ *
* @param $fname string Full name and path of the file to stream
* @param $headers array Any additional headers to send
* @param $sendErrors bool Send error messages if errors occur (like 404)