|
|
|
|
@ -678,13 +678,7 @@ class Information extends CI_Controller
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//AMP更新和生成 end
|
|
|
|
|
//为新闻添加默认发布时间
|
|
|
|
|
$meta_news_createdate = get_meta($information->ic_id, 'meta_news_createdate');
|
|
|
|
|
if (empty ($meta_news_createdate)) {
|
|
|
|
|
add_meta($information->ic_id, 'meta_news_createdate', date('m/d/Y', time()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//如果URL有修改也删除静态文件
|
|
|
|
|
if ($this->input->post('ic_url') != $information->ic_url) {
|
|
|
|
|
$this->update_cache($information->ic_url, true);
|
|
|
|
|
|