AndyB Well-known member Nov 2, 2013 #1 In my add-on I would like to get the value of the max allowed attachment width. I have tried the following but doesn't work: PHP: $attachmentMaxDimensions = XenForo_Application::get('options')->attachmentMaxDimensions['width']; Edit: That is the correct code. Last edited: Nov 2, 2013
In my add-on I would like to get the value of the max allowed attachment width. I have tried the following but doesn't work: PHP: $attachmentMaxDimensions = XenForo_Application::get('options')->attachmentMaxDimensions['width']; Edit: That is the correct code.