diff --git a/file.php b/file.php index 9cce2637048..b46bf4d5852 100644 --- a/file.php +++ b/file.php @@ -54,6 +54,8 @@ $filename = $fileargs[0]; // Only keep what's before the '?' } + session_write_close(); + if (file_exists($pathname) and !is_dir($pathname)) { $lastmodified = filemtime($pathname); $mimetype = mimeinfo("type", $filename);