diff --git a/application/models/Dxcluster_model.php b/application/models/Dxcluster_model.php index e40c4134..6dbee924 100644 --- a/application/models/Dxcluster_model.php +++ b/application/models/Dxcluster_model.php @@ -25,7 +25,7 @@ class Dxcluster_model extends CI_Model { // CURL Functions $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $dxcache_url); - curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog DXLookup'); + curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog '.$this->optionslib->get_option('version').' DXLookup'); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $jsonraw = curl_exec($ch); @@ -89,7 +89,7 @@ class Dxcluster_model extends CI_Model { // CURL Functions $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $dxcache_url); - curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog DXLookup by QRG'); + curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog '.$this->optionslib->get_option('version').'DXLookup by QRG'); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $jsonraw = curl_exec($ch); diff --git a/application/views/adif/data/exportall.php b/application/views/adif/data/exportall.php index 7c8b58da..d0dd52dc 100644 --- a/application/views/adif/data/exportall.php +++ b/application/views/adif/data/exportall.php @@ -5,7 +5,7 @@ Cloudlog ADIF export 3.1.4 config->item('app_name')); ?>>config->item('app_name')."\r\n"; ?> -config->item('app_version')); ?>>config->item('app_version')."\r\n"; ?> +optionslib->get_option('version')); ?>>optionslib->get_option('version')."\r\n"; ?> 3.1.4 config->item('app_name')); ?>>config->item('app_name')."\r\n"; ?> -config->item('app_version')); ?>>config->item('app_version')."\r\n"; ?> +optionslib->get_option('version')); ?>>optionslib->get_option('version')."\r\n"; ?>