From 6e8aeecb7d049127a5a4a0a0474ca62e6cc665a8 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Mon, 29 Jan 2024 12:36:14 +0100 Subject: [PATCH] new clublog api key --- application/controllers/Clublog.php | 4 ++-- application/controllers/Update.php | 2 +- application/libraries/Clublog.php | 2 +- application/models/Logbook_model.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/controllers/Clublog.php b/application/controllers/Clublog.php index 7d824c554..b7bcf21fb 100644 --- a/application/controllers/Clublog.php +++ b/application/controllers/Clublog.php @@ -81,7 +81,7 @@ class Clublog extends CI_Controller { 'email' => $clean_username, 'password' => $clean_passord, 'callsign' => $station_row->station_callsign, - 'api' => "a11c3235cd74b88212ce726857056939d52372bd", + 'api' => "608df94896cb9c5421ae748235492b43815610c9", 'file' => $cFile )); @@ -134,7 +134,7 @@ class Clublog extends CI_Controller { function find_dxcc($callsign) { $clean_callsign = $this->security->xss_clean($callsign); // Live lookup against Clublogs API - $url = "https://clublog.org/dxcc?call=".$clean_callsign."&api=a11c3235cd74b88212ce726857056939d52372bd&full=1"; + $url = "https://clublog.org/dxcc?call=".$clean_callsign."&api=608df94896cb9c5421ae748235492b43815610c9&full=1"; $json = file_get_contents($url); $data = json_decode($json, TRUE); diff --git a/application/controllers/Update.php b/application/controllers/Update.php index 1c95689b8..4a47a44a4 100644 --- a/application/controllers/Update.php +++ b/application/controllers/Update.php @@ -180,7 +180,7 @@ class Update extends CI_Controller { $this->migration->latest(); // Download latest file. - $url = "https://cdn.clublog.org/cty.php?api=a11c3235cd74b88212ce726857056939d52372bd"; + $url = "https://cdn.clublog.org/cty.php?api=608df94896cb9c5421ae748235492b43815610c9"; $gz = gzopen($url, 'r'); if ($gz === FALSE) { diff --git a/application/libraries/Clublog.php b/application/libraries/Clublog.php index 3a0602c39..4c690ce49 100644 --- a/application/libraries/Clublog.php +++ b/application/libraries/Clublog.php @@ -21,7 +21,7 @@ class Clublog { $CI->load->library('curl'); // API Key - $key = "a11c3235cd74b88212ce726857056939d52372bd"; + $key = "608df94896cb9c5421ae748235492b43815610c9"; $username = ""; $password = ""; diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 988dc50cc..6ec73726b 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -738,7 +738,7 @@ class Logbook_model extends CI_Model { 'password' => $cl_password, 'callsign' => $station_callsign, 'adif' => $adif, - 'api' => "a11c3235cd74b88212ce726857056939d52372bd", + 'api' => "608df94896cb9c5421ae748235492b43815610c9", )); // output the response