i have checked the core file in which allowed meme types are
public function isImage() { return in_array( $this->mimeType, ['image/gif', 'image/jpeg', 'image/pjpeg', 'image/png'] ); }
i have modified the code like below
public function isImage() { return in_array( $this->mimeType, ['image/gif', 'image/jpeg', 'image/pjpeg', 'image/png', 'application/xlsx' , 'application/csv'] ); }
but its not work for me.please anyone suggest what can i do..
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire