From 5597927c641b820b559c6b607b59a091ec1e66c3 Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 3 Feb 2021 12:28:58 +0100 Subject: [PATCH] Also provide SDOK info for logging German DOKs --- .gitignore | 1 + application/controllers/Update.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d8f4eb30..bc2d170a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ /images/eqsl_card_images/*.jpg /updates/clublog_scp.txt /assets/qslcard/* +/assets/json/* .idea/* .DS_Store sync.sh diff --git a/application/controllers/Update.php b/application/controllers/Update.php index 2c640c94..fca57ffc 100644 --- a/application/controllers/Update.php +++ b/application/controllers/Update.php @@ -293,7 +293,7 @@ class Update extends CI_Controller { * Used for autoupdating the DOK file which is used in the QSO entry dialog for autocompletion. */ public function update_dok() { - $contents = file_get_contents('https://www.df2et.de/cqrlog/dok.txt', true); + $contents = file_get_contents('https://www.df2et.de/cqrlog/dok_and_sdok.txt', true); if($contents === FALSE) { echo "Something went wrong with fetching the DOK file."; @@ -307,7 +307,7 @@ class Update extends CI_Controller { $nCount = count(file($file)); if ($nCount > 0) { - echo "DONE: " . number_format($nCount) . " DOK's saved"; + echo "DONE: " . number_format($nCount) . " DOKs and SDOKs saved"; } else { echo"FAILED: Empty file"; }