Use Headergen as well at Backup

This commit is contained in:
int2001
2025-12-05 08:08:03 +00:00
parent 5e1a213726
commit 5e9f5411ac

View File

@@ -40,11 +40,7 @@ class Backup extends CI_Controller {
header('Content-Disposition: attachment; filename="'.$filename.'"'); header('Content-Disposition: attachment; filename="'.$filename.'"');
// Output ADIF header // No chance to use exportall-view any longer, because of chunking logic // Output ADIF header // No chance to use exportall-view any longer, because of chunking logic
echo "Wavelog ADIF export\n"; echo $this->adifhelper->getAdifHeader($this->config->item('app_name'),$this->optionslib->get_option('version'));
echo "<ADIF_VER:5>3.1.6\n";
echo "<PROGRAMID:".strlen($this->config->item('app_name')).">".$this->config->item('app_name')."\r\n";
echo "<PROGRAMVERSION:".strlen($this->optionslib->get_option('version')).">".$this->optionslib->get_option('version')."\r\n";
echo "<EOH>\n\n";
// Stream QSOs in 5K chunks // Stream QSOs in 5K chunks
$offset = 0; $offset = 0;