blob: 235e8f511c964f42ad1a19afea244bd926fef690 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- inc/httputils.php.orig 2024-02-06 13:03:45 UTC
+++ inc/httputils.php
@@ -78,8 +78,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;
|