forked from Public/pics
Download: remove limits on maximum execution time
This commit is contained in:
parent
4b289a5e83
commit
bb81f7e086
@ -79,6 +79,9 @@ class Download
|
|||||||
// STDOUT should not block.
|
// STDOUT should not block.
|
||||||
stream_set_blocking($pipes[1], 0);
|
stream_set_blocking($pipes[1], 0);
|
||||||
|
|
||||||
|
// Allow this the download to take its time...
|
||||||
|
set_time_limit(0);
|
||||||
|
|
||||||
header('Pragma: no-cache');
|
header('Pragma: no-cache');
|
||||||
header('Content-Description: File Download');
|
header('Content-Description: File Download');
|
||||||
header('Content-disposition: attachment; filename="' . $album->tag . '.tar"');
|
header('Content-disposition: attachment; filename="' . $album->tag . '.tar"');
|
||||||
|
Loading…
Reference in New Issue
Block a user