kopia lustrzana https://github.com/magicbug/Cloudlog
Merge pull request #212 from wvolz/codeignitor3-mime-type-fix
Re-add adif + tq8 mime types, upload pathpull/215/head
commit
41df4f9f05
|
@ -179,5 +179,11 @@ return array(
|
|||
'odt' => 'application/vnd.oasis.opendocument.text',
|
||||
'odm' => 'application/vnd.oasis.opendocument.text-master',
|
||||
'ott' => 'application/vnd.oasis.opendocument.text-template',
|
||||
'oth' => 'application/vnd.oasis.opendocument.text-web'
|
||||
'oth' => 'application/vnd.oasis.opendocument.text-web',
|
||||
'adi' => array('application/octet-stream','text/plain'),
|
||||
'adif' => array('application/octet-stream','text/plain'),
|
||||
'ADI' => array('application/octet-stream','text/plain'),
|
||||
'ADIF' => array('application/octet-stream','text/plain'),
|
||||
'tq8' => 'application/octet-stream',
|
||||
'TQ8' => 'application/octet-stream'
|
||||
);
|
||||
|
|
|
@ -70,7 +70,7 @@ class adif extends CI_Controller {
|
|||
|
||||
$data['page_title'] = "ADIF Import";
|
||||
|
||||
$config['upload_path'] = 'uploads/';
|
||||
$config['upload_path'] = './uploads/';
|
||||
$config['allowed_types'] = 'adi|ADI|adif|ADIF';
|
||||
|
||||
$this->load->library('upload', $config);
|
||||
|
|
Ładowanie…
Reference in New Issue