mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Merged from MOODLE_14_STABLE - Unlock session during fileserving.
This commit is contained in:
parent
9abcc2f62d
commit
2ea55bc050
1
file.php
1
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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user