forked from blallo/rss-bridge
[index] Add check for 'libxml' extension
This commit is contained in:
parent
3bcd98404b
commit
04a195361a
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ if(version_compare(PHP_VERSION, PHP_VERSION_REQUIRED) === -1)
|
|||
if(!extension_loaded('openssl'))
|
||||
die('"openssl" extension not loaded. Please check "php.ini"');
|
||||
|
||||
if(!extension_loaded('libxml'))
|
||||
die('"libxml" extension not loaded. Please check "php.ini"');
|
||||
|
||||
// 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;
|
||||
|
|
Loading…
Reference in a new issue