合并静态更新页面问题

hotfix/远程访问多媒体中心
LiaoYijun 8 years ago
commit 5558d42356

@ -389,10 +389,9 @@ class Information extends CI_Controller {
//德语站FAQ版块需要删除原来的文件才能更新静态 by TDY @20150113 //德语站FAQ版块需要删除原来的文件才能更新静态 by TDY @20150113
if ($this->config->item('site_code') == 'gm' && substr($this->input->post('ic_url'), 0, 5) == '/faq/') { if ($this->config->item('site_code') == 'gm' && substr($this->input->post('ic_url'), 0, 5) == '/faq/') {
$this->update_cache($this->input->post('ic_url'), true); $this->update_cache($this->input->post('ic_url'), true);
} else { } else if (!empty($this->input->get_post('auto_update_cache_checkbox'))) {
$this->update_cache($this->input->post('ic_url')); $this->update_cache($this->input->post('ic_url'));
} }
// }
$data[] = array('name' => 'ok', 'value' => $this->lang->line('form_info_success')); $data[] = array('name' => 'ok', 'value' => $this->lang->line('form_info_success'));
$this->Logs_model->backup($information->is_id, $this->input->post('ic_content')); $this->Logs_model->backup($information->is_id, $this->input->post('ic_content'));

Loading…
Cancel
Save