diff --git a/application/plugins/petscms/Pets.php b/application/plugins/petscms/Pets.php index cc0939d8377cfabb8c959ffb5edd01da59d88dd0..569de0947a70372a9ea2436927ea0ad6959dec7d 100644 --- a/application/plugins/petscms/Pets.php +++ b/application/plugins/petscms/Pets.php @@ -163,6 +163,12 @@ class Pets extends Controller $ret['data']['not_bind_desc'] = str_replace("\n", '
', $ret['data']['not_bind_desc']); } $this->assign('plugins_base_data', $ret['data']); + + // 浏览器标题 + if(!empty($data['title'])) + { + $this->assign('home_seo_site_title', SeoService::BrowserSeoTitle($data['title'])); + } $this->assign('params', $params); return $this->fetch('../../../plugins/view/petscms/pets/detail');