Use Club Log CDN for cty.xml

Change the URL for collecting Club Log's cty.xml definitions to use https://cdn.clublog.org (Content Delivery Network, faster). Remove reference to secure.clublog.org and update string "Clublog" to be "Club Log".

Getting my hands dirty for the first time so very minor stuff!
This commit is contained in:
Michael G7VJR
2019-10-08 20:53:14 +01:00
parent 5e2690cb97
commit 80145b4732
3 changed files with 7 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ class Update extends CI_Controller {
return $count;
}
// Updates the DXCC & Exceptions from the Clublog Cty.xml file.
// Updates the DXCC & Exceptions from the Club Log Cty.xml file.
public function dxcc() {
$this->update_status("Downloading file");
@@ -161,7 +161,7 @@ class Update extends CI_Controller {
$this->migration->latest();
// Download latest file.
$url = "https://secure.clublog.org/cty.php?api=a11c3235cd74b88212ce726857056939d52372bd";
$url = "https://cdn.clublog.org/cty.php?api=a11c3235cd74b88212ce726857056939d52372bd";
$gz = gzopen($url, 'r');
$data = "";