mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Set max size attribute from ini setting
This commit is contained in:
parent
2764e9529c
commit
9f8151ebb2
@ -31,6 +31,7 @@ class etemplate_widget_file extends etemplate_widget
|
||||
{
|
||||
$this->attrs['multiple'] = true;
|
||||
}
|
||||
$this->attrs['max_file_size'] = egw_vfs::int_size(ini_get('upload_max_filesize'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user