1
0
Fork 0
forked from blallo/rss-bridge

[index] Add 'curl' extension check

This commit is contained in:
logmanoriginal 2018-03-25 13:11:15 +02:00
parent de5f850cdb
commit 2df2623430

View file

@ -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');