This is a comment on Registered user cannot upload files, posted by WikiAdmin at 07/21/2025 09:40
View source for Fixed: Registered user cannot upload files
%%
function get_max_upload_size()
{
// If upload_max_size is 0,
// the maximum uploadable filesize is only limited by the PHP configuration.
if ($this->db->upload_max_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'))
);
}
else
{
return min(
Ut::shorthand_to_int(ini_get('upload_max_filesize')),
Ut::shorthand_to_int(ini_get('post_max_size'))
);
}
}
%%
Fixed and ((https://github.com/WackoWiki/wackowiki/commit/b00be2d136e0f11c98a1cabf0953add51974cf3d patched)) in repo.
Thanks again for reporting.