unset curl ext until required
This commit is contained in:
parent
3c363da883
commit
c4929d51e1
1 changed files with 0 additions and 2 deletions
|
@ -19,8 +19,6 @@ error_reporting(0);
|
||||||
// extensions check
|
// extensions check
|
||||||
if (!extension_loaded('openssl'))
|
if (!extension_loaded('openssl'))
|
||||||
die('"openssl" extension not loaded. Please check "php.ini"');
|
die('"openssl" extension not loaded. Please check "php.ini"');
|
||||||
if (!extension_loaded('curl'))
|
|
||||||
die('"curl" extension not loaded. 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) Gecko/20121202 Firefox/30.0 (rss-bridge/0.1; +https://github.com/sebsauvage/rss-bridge)');
|
ini_set('user_agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20121202 Firefox/30.0 (rss-bridge/0.1; +https://github.com/sebsauvage/rss-bridge)');
|
||||||
|
|
Loading…
Reference in a new issue