Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

file upload extension


Recommended Posts

i have update an addon from 2.2 to fit to 2.3, its finnish and workin great. but after reducing tthe code i have lost the right to upolad any other files than img..


i need to know wich statement ot tag allow only image file to upload,


thank you in advance..















Link to comment
Share on other sites

i have found the answer.


magical site are available





the answer is in this file:






function upload($file = '', $destination = '', $permissions = '777', $extensions = array('jpg','png')) {







only add extension will be allowed




Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...