|
|
|
@ -2095,7 +2095,7 @@ class Information extends CI_Controller
|
|
|
|
|
$tmp = $url;
|
|
|
|
|
//判断是否是更新信息
|
|
|
|
|
// 产品页面不能生成静态页面,比如/beijing/hotel/只是为了在导航显示一个链接,如果生成了静态页面,网前只会显示一个空白页面了
|
|
|
|
|
if (!empty($information->ic_content) || $meta_pc_amp == 'yes') {
|
|
|
|
|
if (!empty($information->ic_content) || !empty($information->ic_summary) || $meta_pc_amp == 'yes') {
|
|
|
|
|
$url = $this->config->item('site_url') . '/index.php/information/detail/?static_html_url=' . $url . '&flag=empty_false';
|
|
|
|
|
} else {
|
|
|
|
|
//$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . //$url;
|
|
|
|
|