mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
Added code to allow unlimited memory usage when exporting ADIF
This commit is contained in:
parent
08b07587c4
commit
cd4217b0f2
@ -14,6 +14,9 @@ class adif extends CI_Controller {
|
||||
// Export all QSO Data in ASC Order of Date.
|
||||
public function exportall()
|
||||
{
|
||||
// Set memory limit to unlimited to allow heavy usage
|
||||
ini_set('memory_limit', '-1');
|
||||
|
||||
$this->load->model('adif_data');
|
||||
|
||||
$data['qsos'] = $this->adif_data->export_all();
|
||||
@ -22,6 +25,10 @@ class adif extends CI_Controller {
|
||||
}
|
||||
|
||||
public function export_custom() {
|
||||
|
||||
// Set memory limit to unlimited to allow heavy usage
|
||||
ini_set('memory_limit', '-1');
|
||||
|
||||
$this->load->model('adif_data');
|
||||
|
||||
$data['qsos'] = $this->adif_data->export_custom($this->input->post('from'), $this->input->post('to'));
|
||||
|
Loading…
Reference in New Issue
Block a user