From 6cd66a6a4a0d7333b7cf23a8b3b9bb2785ec4cbf Mon Sep 17 00:00:00 2001 From: Corby Krick Date: Thu, 21 Feb 2013 20:19:58 -0600 Subject: [PATCH] Helps to save the file before committing, but it was just comments anyway... --- application/controllers/lotw.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/application/controllers/lotw.php b/application/controllers/lotw.php index 1e8943c2..ffe5de6c 100644 --- a/application/controllers/lotw.php +++ b/application/controllers/lotw.php @@ -31,7 +31,16 @@ class Lotw extends CI_Controller { } else { - if ($this->input->post('lotwimport') == 'upload') + if ($this->input->post('lotwimport') == 'fetch') + { + // Probably need something like + // $this->load->library('arrl_lotw'); + // $this->arrl_lotw->fetch_report(someargs) + // Then dump that file into the uploads directory + // Then continue on with the below code using the file that + // got fetched instead of the uploaded one. + } + else { $data = array('upload_data' => $this->upload->data());