summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rwxr-xr-xinclude/functions.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/functions.php b/include/functions.php
index 8acea8ef4..fe0586678 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -2619,13 +2619,7 @@
$stamp = gmdate("D, d M Y H:i:s", filemtime($filename)) . " GMT";
header("Last-Modified: $stamp", true);
- if (defined('_NGINX_XACCEL_PREFIX') && _NGINX_XACCEL_PREFIX) {
- header("X-Accel-Redirect: " . _NGINX_XACCEL_PREFIX . "/" . $filename);
-
- return false;
- } else {
- return readfile($filename);
- }
+ return readfile($filename);
} else {
return false;
}