I'm having a problem uploading ttf
file to the server's upload folder, my code is working with otf, eot, woff
formats, but not working with ttf.
I've added the mime type in application/config/mimes.php
'ttf' => array('font/sfnt', 'font/truetype', 'font/ttf', 'application/x-font-truetype', 'application/x-font-ttf', 'application/octet-stream'),
'otf' => array('application/vnd.oasis.opendocument.formula-template', 'application/vnd.ms-opentype'),
'woff' => 'font/woff',
'eot' => 'application/vnd.ms-fontobject',
This is my upload class config
$config['allowed_types'] = 'ttf|otf|eot|woff';
I've checked all these one by one and together, but still not working, any help will be appreciated. thanks