truonglv
Well-known member
As the title. You have provide an method which allow us set custom the allowedExtensions. But in some case you are not using it and use your defined.
XenForo_Upload the line 200:
I think need an case check if provide an custom extensions of image then using it.
XenForo_Upload the line 200:
PHP:
if (in_array($this->_extension, array('gif', 'jpg', 'jpe', 'jpeg', 'png')))
I think need an case check if provide an custom extensions of image then using it.