Skip to content

Commit

Permalink
Merged from MOODLE_14_STABLE - Unlock session during fileserving.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlanghoff committed May 17, 2005
1 parent 9abcc2f commit 2ea55bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions file.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 2ea55bc

Please sign in to comment.