|
|
|
|
@ -6738,8 +6738,11 @@ class Information extends CI_Controller
|
|
|
|
|
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;
|
|
|
|
|
} else {
|
|
|
|
|
if ($information->ic_status == 0) {
|
|
|
|
|
$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . $url;
|
|
|
|
|
//$url = $this->config->item('site_url') . '/index.php/information/detail/?static_html_url=' . $url;
|
|
|
|
|
} else {
|
|
|
|
|
$url = $this->config->item('site_url') . '/index.php/information/detail/?static_html_url=' . $url;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (isset($information->ic_type) && $information->ic_type == 'product') {
|
|
|
|
|
$url = $this->config->item('site_url') . '/index.php/welcome/update_cache/?static_html_url=' . $tmp;
|
|
|
|
|
|