From 2ea55bc05043bc435051b7558a1f9c417e7a4c24 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Tue, 17 May 2005 01:00:48 +0000 Subject: [PATCH] Merged from MOODLE_14_STABLE - Unlock session during fileserving. --- file.php | 1 + 1 file changed, 1 insertion(+) diff --git a/file.php b/file.php index b8ba8fded49b3..0e18cb55eb4cc 100644 --- a/file.php +++ b/file.php @@ -129,6 +129,7 @@ // ======================================== // finally send the file // ======================================== + session_write_close(); // unlock session during fileserving $filename = $args[count($args)-1]; send_file($pathname, $filename, $lifetime, !empty($CFG->filteruploadedfiles));