⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Set the allowed file types in upload field



Katherine
  • profile picture
  • Member

Posted 06 January 2014 - 06:36 AM

My question is similar to this one /topic/169-allowed-types-for-file-upload/

 

The answer there is no longer updated. With the version 1.4, could the file types be set directly from the function? Something like this one:

$crud->set_upload_file_types('jpg','apk');

Thanks