forked from blallo/rss-bridge
Fix line return in user-agent.
This commit is contained in:
parent
1763a1518c
commit
ac518ca297
1 changed files with 3 additions and 3 deletions
|
@ -69,9 +69,9 @@ if(ini_get('allow_url_fopen') !== "1")
|
||||||
die('"allow_url_fopen" is not set to "1". Please check "php.ini');
|
die('"allow_url_fopen" is not set to "1". Please check "php.ini');
|
||||||
|
|
||||||
// FIXME : beta test UA spoofing, please report any blacklisting by PHP-fopen-unfriendly websites
|
// FIXME : beta test UA spoofing, please report any blacklisting by PHP-fopen-unfriendly websites
|
||||||
ini_set('user_agent', 'Mozilla/5.0(X11; Linux x86_64; rv:30.0)
|
ini_set('user_agent', 'Mozilla/5.0(X11; Linux x86_64; rv:30.0) '.
|
||||||
Gecko/20121202 Firefox/30.0(rss-bridge/0.1;
|
'Gecko/20121202 Firefox/30.0(rss-bridge/0.1; '.
|
||||||
+https://github.com/RSS-Bridge/rss-bridge)');
|
' +https://github.com/RSS-Bridge/rss-bridge)');
|
||||||
|
|
||||||
// default whitelist
|
// default whitelist
|
||||||
$whitelist_file = './whitelist.txt';
|
$whitelist_file = './whitelist.txt';
|
||||||
|
|
Loading…
Reference in a new issue