Allow users to filter albums by contributors #48
@ -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