MDL-16007 - fix up calls to ignore_user_abort

This commit is contained in:
mjollnir_ 2008-08-12 15:15:38 +00:00
parent 45c0d22490
commit 15325f557d

View File

@ -646,7 +646,7 @@ function send_file($path, $filename, $lifetime = 'default' , $filter=0, $pathiss
global $CFG, $COURSE, $SESSION;
if ($dontdie) {
ignore_user_abort();
ignore_user_abort(true);
}
// MDL-11789, apply $CFG->filelifetime here
@ -857,7 +857,7 @@ function send_stored_file($stored_file, $lifetime=86400 , $filter=0, $forcedownl
global $CFG, $COURSE, $SESSION;
if ($dontdie) {
ignore_user_abort();
ignore_user_abort(true);
}
session_write_close(); // unlock session during fileserving