projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c0d22
)
MDL-16007 - fix up calls to ignore_user_abort
author
mjollnir_
<mjollnir_>
Tue, 12 Aug 2008 15:15:38 +0000
(15:15 +0000)
committer
mjollnir_
<mjollnir_>
Tue, 12 Aug 2008 15:15:38 +0000
(15:15 +0000)
lib/filelib.php
patch
|
blob
|
history
diff --git
a/lib/filelib.php
b/lib/filelib.php
index 2340d6f9d23cf8e4683c0370cbf0e0e3d4f55c20..5f61ef5af18b607dad769f8b1b096bb10e0322a5 100644
(file)
--- a/
lib/filelib.php
+++ b/
lib/filelib.php
@@
-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