aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/fetch.functions.php
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2014-02-15 10:58:33 +0100
committerDominik Eckelmann <deckelmann@gmail.com>2014-02-15 10:58:33 +0100
commit40e0b44409037978b0bce4b451b1569c3bc3ee19 (patch)
tree1b234220d60a3ad7482b9e251c06d9f4de1ad252 /inc/fetch.functions.php
parentfd51614b39b1320c5723e8195f0bf69c25baaeb7 (diff)
downloaddokuwiki-40e0b44409037978b0bce4b451b1569c3bc3ee19.tar.gz
dokuwiki-40e0b44409037978b0bce4b451b1569c3bc3ee19.zip
use http_sendfile correct
Diffstat (limited to 'inc/fetch.functions.php')
-rw-r--r--inc/fetch.functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/fetch.functions.php b/inc/fetch.functions.php
index 3eacaa2fe..c61c54503 100644
--- a/inc/fetch.functions.php
+++ b/inc/fetch.functions.php
@@ -77,7 +77,7 @@ function sendFile($file, $mime, $dl, $cache, $public = false, $orig = null) {
}
//use x-sendfile header to pass the delivery to compatible webservers
- if(http_sendfile($file)) exit;
+ http_sendfile($file);
// send file contents
$fp = @fopen($file, "rb");