Merge pull request #42 from HB9HIL/dev

new clublog api key
This commit is contained in:
HB9HIL
2024-01-29 12:37:06 +01:00
committed by GitHub
4 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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) {

View File

@@ -21,7 +21,7 @@ class Clublog {
$CI->load->library('curl');
// API Key
$key = "a11c3235cd74b88212ce726857056939d52372bd";
$key = "608df94896cb9c5421ae748235492b43815610c9";
$username = "";
$password = "";

View File

@@ -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