[eluser]mrh[/eluser]
Hello all,
I'm on 2.1.2 and started to implement a file upload of an XML file type. This type is in the mimes file. The error received is always:
The filetype you are attempting to upload is not allowed.
even though I have set it as the allowed file type:
Code:
$config['upload_path'] = './uploads/';
$config['allowed_types'] = 'xml';
$config['max_size'] = '100';
$config['encrypt_name'] = TRUE;
$this->load->library( 'upload', $config );
In searching the forums here I see some older posts mentioning a bug in CI but it seems like 2.1.2 should have this corrected. If I set the file types to * then of course the upload works.
Is this still a problem or is there some other issue going on?