diff --git a/extend/hook/FilterView.php b/extend/hook/FilterView.php index 9527cf969..d28b43d7e 100644 --- a/extend/hook/FilterView.php +++ b/extend/hook/FilterView.php @@ -56,13 +56,14 @@ class FilterView public function baidu(&$params) { if (($key = sysconf('tongji_baidu_key'))) { + $https = Request::instance()->isSsl() ? 'https' : 'http'; $script = <<