This commit is contained in:
杜恒 2021-04-15 09:47:16 +08:00
parent 96f8074c00
commit 92889ef834
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
/* 获取主题当前版本号 */
function _getVersion()
{
return "6.3.7";
return "6.3.8";
};
/* 判断是否是手机 */

View File

@ -169,7 +169,7 @@ function _getRecord($self)
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $baiduSite);
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_REFERER, "https://www.baidu.com/s?ie=UTF-8&wd={$url}");
curl_setopt($ch, CURLOPT_REFERER, "https://www.baidu.com/s?ie=UTF-8&wd={$site}");
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_ENCODING, 'gzip,deflate');

View File

@ -1,6 +1,6 @@
{
"name": "typecho-joe-next",
"version": "6.3.7",
"version": "6.3.8",
"description": "A Theme Of Typecho",
"main": "index.php",
"keywords": [