mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
* API/VFS: download as zip; increase the time limit on a small amount of files, as they may hold a big amount of data
This commit is contained in:
parent
e09b6f75b5
commit
ed12869f0d
@ -1502,8 +1502,8 @@ class Vfs extends Vfs\StreamWrapper
|
||||
// We need to remove them _after_ we're done
|
||||
$tempfiles = array();
|
||||
|
||||
// Give 1 second per file
|
||||
set_time_limit(count($files));
|
||||
// Give 1 second per file, but try to allow more time for big files when amount of files is low
|
||||
set_time_limit((count($files)<=9?10:count($files)));
|
||||
|
||||
// Add files to archive
|
||||
foreach($files as &$addfile)
|
||||
|
Loading…
Reference in New Issue
Block a user