You can not select a [] file
I created an assets directory called docs. Added it to my asset.php config file:
$config['assets_folders'] = array(
'images' => 'images/',
'css' => 'css/',
'js' => 'js/',
'pdf' => 'pdf/',
'swf' => 'swf/',
'media' => 'media/',
'captchas' => 'captchas/',
'docs' => 'docs/'
);
And also added the following to MY_fuel.php:
$config['editable_asset_filetypes'] = array(
'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',
'docs' => 'doc|docx|ppt|pptx|xls|xlsx|rtf|txt'
);
Yet from within the assets section of the admin I still get the javascript alert "You can not select a .docx file ..." when I try to upload a .docx file to docs/. The folder has write permissions and the proper ownership. I'm not sure what else could be causing this ... Any suggestions?
Comments