forked from blallo/rss-bridge
[VkBridge] Simplify header specification
This commit is contained in:
parent
ecfc220b10
commit
45c3dcb636
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class VkBridge extends BridgeAbstract
|
||||||
{
|
{
|
||||||
ini_set('user-agent', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0');
|
ini_set('user-agent', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0');
|
||||||
|
|
||||||
$header = array("Accept-language: en\r\nCookie: remixlang=3\r\n");
|
$header = array('Accept-language: en', 'Cookie: remixlang=3');
|
||||||
|
|
||||||
return getContents($this->getURI(), $header);
|
return getContents($this->getURI(), $header);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue