mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 09:11:50 -04:00
11 lines
415 B
Text
11 lines
415 B
Text
--- inc/httputils.php.orig 2018-04-22 11:17:57 UTC
|
|
+++ inc/httputils.php
|
|
@@ -82,8 +82,6 @@ function http_sendfile($file) {
|
|
ob_end_clean();
|
|
exit;
|
|
}elseif($conf['xsendfile'] == 3){
|
|
- // FS#2388 nginx just needs the relative path.
|
|
- $file = DOKU_REL.substr($file, strlen(fullpath(DOKU_INC)) + 1);
|
|
header("X-Accel-Redirect: $file");
|
|
ob_end_clean();
|
|
exit;
|