diff --git a/controllers/Download.php b/controllers/Download.php index 95fd163..ffd60c2 100644 --- a/controllers/Download.php +++ b/controllers/Download.php @@ -79,6 +79,9 @@ class Download // STDOUT should not block. stream_set_blocking($pipes[1], 0); + // Allow this the download to take its time... + set_time_limit(0); + header('Pragma: no-cache'); header('Content-Description: File Download'); header('Content-disposition: attachment; filename="' . $album->tag . '.tar"');