Also provide SDOK info for logging German DOKs

这个提交包含在:
phl0 2021-02-03 12:28:58 +01:00
父节点 89d579489a
当前提交 5597927c64
找不到此签名对应的密钥
GPG 密钥 ID: 48EA1E640798CA9A
共有 2 个文件被更改,包括 3 次插入2 次删除

1
.gitignore vendored
查看文件

@ -11,6 +11,7 @@
/images/eqsl_card_images/*.jpg
/updates/clublog_scp.txt
/assets/qslcard/*
/assets/json/*
.idea/*
.DS_Store
sync.sh

查看文件

@ -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";
}