XF 2.2 PHP post_max_size set 0 disables attachements?

tjoneslow

New member
This is more of a question about the internal processing.

In the PHP documentation, it states you can set post_max_size to 0, indicating you would like to disable the limit checking of the post size. (NOTE: Do not do this in your production server, bad things may result). Some test installations will leave this set as a default.

If you look in the XenForo admin screens under setup > options > Attachments the recommendation under the setting box reflects the setting of the post_max_size .

Question: In the case where the php post_max_size is 0, the Attachments screen will insist the Maximum attachment file size setting also be 0. Does this on the XenForo side disable file attachments (size == 0) or follow the PHP settings and provide no limit?
 
Top Bottom