New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add adif + tq8 mime types, upload path #212

Merged
merged 1 commit into from Dec 19, 2017
Jump to file or symbol
Failed to load files and symbols.
+8 −2
Diff settings

Always

Just for now

Re-add adif + tq8 mime types, upload path

- set ADIF file upload path to ./upload/
- for ADIF my browser uses text/plain, so
  add this to the adi/adif types
  • Loading branch information...
wvolz committed Dec 18, 2017
commit 85a167eda93001d59cb6e842069d3e151ad19bac
Copy path View file
@@ -179,5 +179,11 @@
'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 @@ public function import() {
$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);
ProTip! Use n and p to navigate between commits in a pull request.