kopia lustrzana https://github.com/magicbug/Cloudlog
Also provide SDOK info for logging German DOKs
rodzic
89d579489a
commit
5597927c64
|
@ -11,6 +11,7 @@
|
||||||
/images/eqsl_card_images/*.jpg
|
/images/eqsl_card_images/*.jpg
|
||||||
/updates/clublog_scp.txt
|
/updates/clublog_scp.txt
|
||||||
/assets/qslcard/*
|
/assets/qslcard/*
|
||||||
|
/assets/json/*
|
||||||
.idea/*
|
.idea/*
|
||||||
.DS_Store
|
.DS_Store
|
||||||
sync.sh
|
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.
|
* Used for autoupdating the DOK file which is used in the QSO entry dialog for autocompletion.
|
||||||
*/
|
*/
|
||||||
public function update_dok() {
|
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) {
|
if($contents === FALSE) {
|
||||||
echo "Something went wrong with fetching the DOK file.";
|
echo "Something went wrong with fetching the DOK file.";
|
||||||
|
@ -307,7 +307,7 @@ class Update extends CI_Controller {
|
||||||
$nCount = count(file($file));
|
$nCount = count(file($file));
|
||||||
if ($nCount > 0)
|
if ($nCount > 0)
|
||||||
{
|
{
|
||||||
echo "DONE: " . number_format($nCount) . " DOK's saved";
|
echo "DONE: " . number_format($nCount) . " DOKs and SDOKs saved";
|
||||||
} else {
|
} else {
|
||||||
echo"FAILED: Empty file";
|
echo"FAILED: Empty file";
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue