|
|
@ -490,8 +490,9 @@ class Information extends CI_Controller
|
|
|
|
$update_info_log = $this->update_cache($ic_url, true);
|
|
|
|
$update_info_log = $this->update_cache($ic_url, true);
|
|
|
|
} else if (strcasecmp($site_code, "ch") == 0 && !empty($auto_update_cache)) {
|
|
|
|
} else if (strcasecmp($site_code, "ch") == 0 && !empty($auto_update_cache)) {
|
|
|
|
//读取模板生成PC和移动优先文件
|
|
|
|
//读取模板生成PC和移动优先文件
|
|
|
|
$this->make_www_cache('mobile',$information);
|
|
|
|
$information_new=$this->Information_model->Detail($this->input->post('is_id'));
|
|
|
|
$this->make_www_cache('pc',$information);
|
|
|
|
$this->make_www_cache('mobile',$information_new);
|
|
|
|
|
|
|
|
$this->make_www_cache('pc',$information_new);
|
|
|
|
} else if (strcasecmp($site_code, "cht") == 0 && !empty($auto_update_cache)) {
|
|
|
|
} else if (strcasecmp($site_code, "cht") == 0 && !empty($auto_update_cache)) {
|
|
|
|
$update_info_log = $this->update_cache($ic_url);
|
|
|
|
$update_info_log = $this->update_cache($ic_url);
|
|
|
|
} else if (strcasecmp($site_code, "ah") == 0 && !empty($auto_update_cache)) {
|
|
|
|
} else if (strcasecmp($site_code, "ah") == 0 && !empty($auto_update_cache)) {
|
|
|
|