关闭德语自动更新的功能

hotfix/远程访问多媒体中心
cyc 8 years ago
parent 127fd2a57f
commit 7b68c7aaf0

@ -424,7 +424,7 @@ class Information extends CI_Controller {
$site_code = $this->config->item('site_code');
$ic_url = $this->input->post('ic_url');
$auto_update_cache = $this->input->get_post('auto_update_cache_checkbox');
if ($site_code == 'gm' && substr($ic_url, 0, 5) == '/faq/') {
if (strcasecmp($site_code, "gm") == 0 && !empty($auto_update_cache)) {
$update_info_log = $this->update_cache($ic_url, true);
} else if (strcasecmp($site_code, "cht") == 0 && !empty($auto_update_cache)) {
$update_info_log = $this->update_cache($ic_url);

@ -1222,7 +1222,7 @@ foreach ($author_list as $author_item) {
<input type="checkbox" name="ignore_url_check" id="ignore_url_check" />忽略URL重复
</label>
<div class="clearfix"></div>
<?php if (is_series_site() || ($this->config->item('site_code') == 'ah') || ($this->config->item('site_code') == 'gm')) {?>
<?php if (is_series_site() || ($this->config->item('site_code') == 'ah')) {?>
<label class="col-xs-24">本站会自动更新静态页面</label>
<?php } else {?>
<label class="checkbox col-xs-24" style="font-weight: normal;margin-top:0;padding-left: 21px;">

Loading…
Cancel
Save