修改ua信息

This commit is contained in:
2012-10-18 18:29:32 +08:00
parent 7b009a981a
commit 545c03edd7

View File

@@ -147,7 +147,7 @@ class lastRSS {
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
curl_setopt($ch, CURLOPT_USERAGENT, 'PHP Curl/emlog Rss订阅插件');
curl_setopt($ch, CURLOPT_USERAGENT, 'PHP Curl/xiaosong.org 1.0 BETA');
$results = curl_exec($ch);
curl_close($ch);
} else {