diff options
author | dratini0 <dratini0@gmail.com> | 2015-02-11 21:15:13 +0100 |
---|---|---|
committer | dratini0 <dratini0@gmail.com> | 2015-02-11 22:19:22 +0100 |
commit | b1594ad1dfe505b3d0daf0a23993df8d8ee3d502 (patch) | |
tree | d4dabcf8ab675f79a48e35f8df2412bf3f0e5b8e /lib/private/files.php | |
parent | 80032ec30130d0c941cdf6a2217406a7ac2d3c86 (diff) | |
download | nextcloud-server-b1594ad1dfe505b3d0daf0a23993df8d8ee3d502.tar.gz nextcloud-server-b1594ad1dfe505b3d0daf0a23993df8d8ee3d502.zip |
Revert "Fix: X-Accel-Redirect did not support custom data dir and local mounts"
This reverts commit f2075f803fc59918cc20071cf174d6b5f81f5eed.
Diffstat (limited to 'lib/private/files.php')
-rw-r--r-- | lib/private/files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files.php b/lib/private/files.php index d42ab3d1852..98f3c52d6c6 100644 --- a/lib/private/files.php +++ b/lib/private/files.php @@ -182,7 +182,7 @@ class OC_Files { } if (isset($_SERVER['MOD_X_ACCEL_REDIRECT_ENABLED'])) { - $filename = \OC\Files\Filesystem::getLocalFile($filename); + $filename = \OC::$WEBROOT . '/data' . \OC\Files\Filesystem::getRoot() . $filename; header("X-Accel-Redirect: " . $filename); } } |