|
|
@ -92,7 +92,7 @@ class Amp extends CI_Controller
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//CH的页面没有canonical内容,在这里帮补上
|
|
|
|
//CH的页面没有canonical内容,在这里帮补上
|
|
|
|
$textarea_htmlcode=str_replace('<!--@CANONICAL@-->', $data['information']->ic_url, $textarea_htmlcode);
|
|
|
|
$textarea_htmlcode=str_replace('<!--@CANONICAL@-->',$this->config->item('site_url'). $data['information']->ic_url, $textarea_htmlcode);
|
|
|
|
|
|
|
|
|
|
|
|
$amp = $this->InfoMetas_model->get($ic_id, 'AMP');
|
|
|
|
$amp = $this->InfoMetas_model->get($ic_id, 'AMP');
|
|
|
|
if ($amp === false) {
|
|
|
|
if ($amp === false) {
|
|
|
|