Set max size attribute from ini setting

This commit is contained in:
Nathan Gray 2012-05-14 19:12:04 +00:00
parent 2764e9529c
commit 9f8151ebb2

View File

@ -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'));
}
/**