重新读取保存的信息来生成页面

ct-mobile-first
ycc 5 years ago
parent 19bcb875ec
commit 024a91de6d

@ -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)) {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save