Skip to content
Permalink
Browse files

Merged from MOODLE_14_STABLE - Unlock session during fileserving.

  • Loading branch information...
martinlanghoff
martinlanghoff committed May 17, 2005
1 parent 9abcc2f commit 2ea55bc05043bc435051b7558a1f9c417e7a4c24
Showing with 1 addition and 0 deletions.
  1. +1 −0 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));

0 comments on commit 2ea55bc

Please sign in to comment.
You can’t perform that action at this time.