From d6751ba58784947f92622982b073a2358bec546c Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Fri, 15 Feb 2008 16:21:32 +0100 Subject: [PATCH] fix for resetting timelimit in fetch.php FS#1243 darcs-hash:20080215152132-7ad00-57dfd552c1fa5bc4421f64abf5552f4bb377040c.gz --- lib/exe/fetch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php index 92572b6ef..f41339bdc 100644 --- a/lib/exe/fetch.php +++ b/lib/exe/fetch.php @@ -133,7 +133,7 @@ function sendFile($file,$mime,$cache){ $chunk = ($len > CHUNK_SIZE) ? CHUNK_SIZE : $len; while (!feof($fp) && $chunk > 0) { - @set_time_limit(); // large files can take a lot of time + @set_time_limit(30); // large files can take a lot of time print fread($fp, $chunk); flush(); $len -= $chunk; -- GitLab