summaryrefslogtreecommitdiff
path: root/www/dokuwiki/files/patch-wrong-2388-fix
blob: b3c076040658ec79b10d8a019392b59ad400e7b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./inc/httputils.php.orig	2014-05-05 13:53:23.000000000 -0700
+++ ./inc/httputils.php	2014-05-22 15:24:54.000000000 -0700
@@ -80,8 +80,6 @@
         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;