diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-02-15 16:21:32 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-02-15 16:21:32 +0100 |
commit | d6751ba58784947f92622982b073a2358bec546c (patch) | |
tree | bab740f7548c8bfa69cc551a57ba88f997df1373 | |
parent | 7172dbc0d546b2eec19b87ad2b9812242fa2219d (diff) | |
download | rpg-d6751ba58784947f92622982b073a2358bec546c.tar.gz rpg-d6751ba58784947f92622982b073a2358bec546c.tar.bz2 |
fix for resetting timelimit in fetch.php FS#1243
darcs-hash:20080215152132-7ad00-57dfd552c1fa5bc4421f64abf5552f4bb377040c.gz
-rw-r--r-- | lib/exe/fetch.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |