Tags

, , , , ,

We have mentioned the $config[‘allowed_types’]= ‘apk’;

But when i try to upload file on the server it shows me error that “The filetype you are attempting to upload is not allowed.”

To Avoid the error we need place below line inside the application/config/mines.php file

‘apk’ => array(‘application/x-zip’, ‘application/zip’, ‘application/x-zip-compressed’, ‘application/vnd.android.package-archive’, ‘application/octet-stream’),

 

 

Advertisements