This is a comment on Registered user cannot upload files, posted by WikiAdmin at 07/20/2025 15:18

View source for Re: Registered user cannot upload files

I'll look into the ##0## value issue for the maximum file size (##upload_max_size##).

The new ##get_max_upload_size()## which also also checks the the upload related system settings is causing this.
%%
function get_max_upload_size()
{
	return min(
		$this->db->upload_max_size,
		Ut::shorthand_to_int(ini_get('upload_max_filesize')),
		Ut::shorthand_to_int(ini_get('post_max_size'))
	);
}
%%

If you think there is something missing in the documentation, please fix it.