summaryrefslogtreecommitdiff
path: root/www/dokuwiki/files/patch-wrong-2388-fix
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2024-02-08 09:50:37 +0900
committerXin LI <delphij@FreeBSD.org>2024-02-09 00:02:25 -0800
commitd208191925f677580b079976d7220ae264f7d3e9 (patch)
tree7780dc3b30d1cbe4c93c97ccb075f00a358a303b /www/dokuwiki/files/patch-wrong-2388-fix
parentscience/afni: update to 24.0.05 (diff)
www/dokuwiki: Update to 2024-02-06
ChangeLog: https://www.dokuwiki.org/changes#release_2024-02-06_kaos PR: ports/276881
Diffstat (limited to 'www/dokuwiki/files/patch-wrong-2388-fix')
-rw-r--r--www/dokuwiki/files/patch-wrong-2388-fix8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/dokuwiki/files/patch-wrong-2388-fix b/www/dokuwiki/files/patch-wrong-2388-fix
index 248527ef5852..235e8f511c96 100644
--- a/www/dokuwiki/files/patch-wrong-2388-fix
+++ b/www/dokuwiki/files/patch-wrong-2388-fix
@@ -1,11 +1,11 @@
---- inc/httputils.php.orig 2018-04-22 11:17:57 UTC
+--- inc/httputils.php.orig 2024-02-06 13:03:45 UTC
+++ inc/httputils.php
-@@ -82,8 +82,6 @@ function http_sendfile($file) {
+@@ -78,8 +78,6 @@ function http_sendfile($file)
ob_end_clean();
exit;
- }elseif($conf['xsendfile'] == 3){
+ } elseif ($conf['xsendfile'] == 3) {
- // FS#2388 nginx just needs the relative path.
-- $file = DOKU_REL.substr($file, strlen(fullpath(DOKU_INC)) + 1);
+- $file = DOKU_REL . substr($file, strlen(fullpath(DOKU_INC)) + 1);
header("X-Accel-Redirect: $file");
ob_end_clean();
exit;