|
|
|
|
@ -721,7 +721,12 @@ class Information extends CI_Controller
|
|
|
|
|
$information_new = $this->Information_model->Detail($this->input->post('is_id'));
|
|
|
|
|
$this->make_www_cache_gh('mobile', $information_new, $recommand_information);
|
|
|
|
|
$this->make_www_cache_gh('pc', $information_new, $recommand_information);
|
|
|
|
|
} else if (strcasecmp($site_code, "chinatravel") == 0 && !empty($auto_update_cache)) {
|
|
|
|
|
} else if (strcasecmp($site_code, "jh") == 0 && !empty($auto_update_cache)) {
|
|
|
|
|
$recommand_information = $this->recommand_information($information);
|
|
|
|
|
$information_new = $this->Information_model->Detail($this->input->post('is_id'));
|
|
|
|
|
$this->make_www_cache_jh('mobile', $information_new, $recommand_information);
|
|
|
|
|
$this->make_www_cache_jh('pc', $information_new, $recommand_information);
|
|
|
|
|
}else if (strcasecmp($site_code, "chinatravel") == 0 && !empty($auto_update_cache)) {
|
|
|
|
|
//chinatravel读取模板生成PC和移动优先文件
|
|
|
|
|
$information_new = $this->Information_model->Detail($this->input->post('is_id'));
|
|
|
|
|
$this->make_www_cache_ct($information_new);
|
|
|
|
|
|