forked from blallo/rss-bridge
[index] Add 'curl' extension check
This commit is contained in:
parent
de5f850cdb
commit
2df2623430
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ if(!extension_loaded('mbstring'))
|
||||||
if(!extension_loaded('simplexml'))
|
if(!extension_loaded('simplexml'))
|
||||||
die('"simplexml" extension not loaded. Please check "php.ini"');
|
die('"simplexml" extension not loaded. Please check "php.ini"');
|
||||||
|
|
||||||
|
if(!extension_loaded('curl'))
|
||||||
|
die('"curl" extension not loaded. Please check "php.ini"');
|
||||||
|
|
||||||
// configuration checks
|
// configuration checks
|
||||||
if(ini_get('allow_url_fopen') !== "1")
|
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');
|
||||||
|
|
Loading…
Reference in a new issue