Skip to content
Snippets Groups Projects
Commit d6751ba5 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fix for resetting timelimit in fetch.php FS#1243

darcs-hash:20080215152132-7ad00-57dfd552c1fa5bc4421f64abf5552f4bb377040c.gz
parent 7172dbc0
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment