[RSS Feed/News] Incorrect phrasing for attachment size limits

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Provide the maximum attachment file size in kilobytes (KB)
Click to expand...
You should also provide the maximum video file size in kilobytes (KB).
Click to expand...
Those phrases do not seem to be correct.

According to the code in
\XF\Repository\Attachment::getDefaultAttachmentConstraints() and \XF\Repository\Attachment ::applyVideoAttachmentConstraints()
the values entered for thoes options are multiplied by 1024 so entering 10000 does result in allowing files up to 10240000 bytes = 10000...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom