mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
rss_reader 위젯의 http_request에서 user_agent 헤더 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6146 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e352411b12
commit
55fc3c1224
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
$oReqeust = new HTTP_Request($rss_url);
|
||||
$oReqeust->addHeader('Content-Type', 'application/xml');
|
||||
$oReqeust->addHeader('User-agent', 'RSS Reader Widget (XE '.__ZBXE_VERSION__.' (http://www.xpressengine.com); PEAR HTTP_Request class (http://pear.php.net))');
|
||||
$oReqeust->setMethod('GET');
|
||||
|
||||
$user = $URL_parsed["user"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue