mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
feat: extract curl ua to config value (#2568)
* exclude config.default.ini.php from phpcs
This commit is contained in:
parent
42788cd3ee
commit
bed20e9f28
9 changed files with 9 additions and 21 deletions
|
@ -409,8 +409,6 @@ class VkBridge extends BridgeAbstract
|
|||
|
||||
private function getContents()
|
||||
{
|
||||
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', 'Cookie: remixlang=3');
|
||||
|
||||
return getContents($this->getURI(), $header);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue