It looks like you're new here. If you want to get involved, click one of these buttons!
array('type' => 'file', 'accept' => 'swf');
The filetype you are attempting to upload is not allowed.
$fields['ad_swf'] = array('type' => 'file', 'accept' => 'swf', 'upload_path' => APPPATH . 'assets/swf');
// specifies what filetype extensions can be included in the folders
$config['editable_asset_filetypes'] = array(
'swf' => 'swf',
'images' => 'jpg|jpeg|jpe|gif|png|zip',
'pdf' => 'pdf|zip',
'media' => 'mov|mp3|aiff|mpeg|zip',
'assets' => 'jpg|jpeg|jpe|png|gif|mov|mpeg|mp3|wav|aiff|pdf|css|zip'