Merged from MOODLE_14_STABLE - Unlock session during fileserving.

This commit is contained in:
martinlanghoff 2005-05-17 01:00:48 +00:00
parent 9abcc2f62d
commit 2ea55bc050

View File

@ -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));