How to upload an .lrc file in Codelgniter?

145 views Asked by At

I want to upload an .lrc file in Codelgniter

But it always says:

The filetype you are attempting to upload is not allowed.

I tried adding:

'lrc'   =>  'application/octet-stream'

in MIMES.php, but it still doesn't work.

Thank you.

1

There are 1 answers

0
Keith Ivison On BEST ANSWER

Just had a look at the content and you could try a text based or application based

'lrc' => 'text/plain';

'lrc' => array('application/XXyourapplicationXX', 'application/XX YourApplicationXX')