mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #2572 from HB9HIL/default_dxc
use wavelog dxcache as default
This commit is contained in:
@@ -62,7 +62,7 @@ class Dxcluster_model extends CI_Model {
|
||||
$custom_date_format = $this->config->item('qso_date_format');
|
||||
}
|
||||
|
||||
$dxcache_url = ($this->optionslib->get_option('dxcache_url') == '' ? 'https://dxc.jo30.de/dxcache' : $this->optionslib->get_option('dxcache_url'));
|
||||
$dxcache_url = ($this->optionslib->get_option('dxcache_url') == '' ? 'https://dxc.wavelog.org/dxcache' : $this->optionslib->get_option('dxcache_url'));
|
||||
|
||||
if ($band == "All") {
|
||||
$dxcache_url = $dxcache_url . '/spots/';
|
||||
@@ -485,7 +485,7 @@ class Dxcluster_model extends CI_Model {
|
||||
$this->load->helper(array('psr4_autoloader'));
|
||||
if (is_numeric($qrg)) {
|
||||
|
||||
$dxcache_url = ($this->optionslib->get_option('dxcache_url') == '' ? 'https://dxc.jo30.de/dxcache' : $this->optionslib->get_option('dxcache_url'));
|
||||
$dxcache_url = ($this->optionslib->get_option('dxcache_url') == '' ? 'https://dxc.wavelog.org/dxcache' : $this->optionslib->get_option('dxcache_url'));
|
||||
|
||||
$dxcache_url = $dxcache_url .'/spot/'.$qrg;
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<label for="globalSearch"><?= __("Provider of DXClusterCache"); ?></label>
|
||||
<p><?= sprintf(__("The Provider of the DXCluster-Cache. You can set up your own Cache with %s or use a public one"), "<a href='https://github.com/int2001/DXClusterAPI'>".__("DXClusterAPI")."</a>"); ?></p>
|
||||
<input type="text" name="dxcache_url" class="form-control" id="dxcache_url" aria-describedby="dxcache_urlHelp" value="<?php echo $this->optionslib->get_option('dxcache_url'); ?>">
|
||||
<small id="dxcache_urlHelp" class="form-text text-muted"><?= sprintf(__("URL of the DXCluster-Cache. e.g. %s"), "https://dxc.jo30.de/dxcache" ); ?></small>
|
||||
<small id="dxcache_urlHelp" class="form-text text-muted"><?= sprintf(__("URL of the DXCluster-Cache. e.g. %s"), "https://dxc.wavelog.org/dxcache" ); ?></small>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="maxAgeSelect"><?= __("Maximum Age of spots taken care of"); ?></label>
|
||||
|
||||
Reference in New Issue
Block a user