Update Lotw.php
这个提交包含在:
父节点
1f00716cce
当前提交
9b2da775ae
共有 1 个文件被更改,包括 10 次插入 和 6 次删除
|
|
@ -414,7 +414,7 @@ class Lotw extends CI_Controller {
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function loadFromFile($filepath)
|
private function loadFromFile($filepath, $display_view == "TRUE")
|
||||||
{
|
{
|
||||||
|
|
||||||
// Figure out how we should be marking QSLs confirmed via LoTW
|
// Figure out how we should be marking QSLs confirmed via LoTW
|
||||||
|
|
@ -514,10 +514,14 @@ class Lotw extends CI_Controller {
|
||||||
unlink($filepath);
|
unlink($filepath);
|
||||||
|
|
||||||
if(isset($data['lotw_table_headers'])) {
|
if(isset($data['lotw_table_headers'])) {
|
||||||
$data['page_title'] = "LoTW ADIF Information";
|
if($display_view == TRUE) {
|
||||||
$this->load->view('interface_assets/header', $data);
|
$data['page_title'] = "LoTW ADIF Information";
|
||||||
$this->load->view('lotw/analysis');
|
$this->load->view('interface_assets/header', $data);
|
||||||
$this->load->view('interface_assets/footer');
|
$this->load->view('lotw/analysis');
|
||||||
|
$this->load->view('interface_assets/footer');
|
||||||
|
} else {
|
||||||
|
return $lotw_table_headers.$table;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
echo "LoTW Downloading failed either due to it being down or incorrect logins.";
|
echo "LoTW Downloading failed either due to it being down or incorrect logins.";
|
||||||
}
|
}
|
||||||
|
|
@ -570,7 +574,7 @@ class Lotw extends CI_Controller {
|
||||||
file_put_contents($file, file_get_contents($lotw_url));
|
file_put_contents($file, file_get_contents($lotw_url));
|
||||||
|
|
||||||
ini_set('memory_limit', '-1');
|
ini_set('memory_limit', '-1');
|
||||||
$this->loadFromFile($file);
|
$this->loadFromFile($file, false);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo "No users found";
|
echo "No users found";
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用