diff --git a/etemplate/inc/class.etemplate_widget_file.inc.php b/etemplate/inc/class.etemplate_widget_file.inc.php index 9d312a32c9..7c5760e378 100644 --- a/etemplate/inc/class.etemplate_widget_file.inc.php +++ b/etemplate/inc/class.etemplate_widget_file.inc.php @@ -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')); } /**