summaryrefslogtreecommitdiff
path: root/lib/exe/fetch.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exe/fetch.php')
-rw-r--r--lib/exe/fetch.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php
index 8087cbd07..ccab73fa9 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -120,6 +120,9 @@ function sendFile($file,$mime,$cache){
}elseif($conf['xsendfile'] == 2){
header("X-Sendfile: $file");
exit;
+ }elseif($conf['xsendfile'] == 3){
+ header("X-Accel-Redirect: $file");
+ exit;
}
//support download continueing