projects
/
acontent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51a4f26
)
http://www.atutor.ca/atutor/mantis/view.php?id=4466
author
Cindy Li
<cli@ocad.ca>
Mon, 9 Aug 2010 14:12:04 +0000
(14:12 -0000)
committer
Cindy Li
<cli@ocad.ca>
Mon, 9 Aug 2010 14:12:04 +0000
(14:12 -0000)
docs/get.php
patch
|
blob
|
history
diff --git
a/docs/get.php
b/docs/get.php
index
1959c92
..
cae0a00
100644
(file)
--- a/
docs/get.php
+++ b/
docs/get.php
@@
-119,6
+119,7
@@
if (file_exists($real) && (substr($real, 0, strlen(TR_CONTENT_DIR)) == TR_CONTEN
header('x-Sendfile: ', TRUE); // if we get here then it didn't work
header('Content-Type: '.$ext);
+ header('Content-length: '.filesize($real));
@readfile($real);
exit;