mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
11 lines
418 B
Text
11 lines
418 B
Text
--- 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;
|