1
0
Selaa lähdekoodia

[index] Add 'curl' extension check

logmanoriginal 6 vuotta sitten
vanhempi
commit
2df2623430
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      index.php

+ 3 - 0
index.php

@@ -80,6 +80,9 @@ if(!extension_loaded('mbstring'))
 if(!extension_loaded('simplexml'))
 	die('"simplexml" extension not loaded. Please check "php.ini"');
 
+if(!extension_loaded('curl'))
+	die('"curl" extension not loaded. Please check "php.ini"');
+
 // configuration checks
 if(ini_get('allow_url_fopen') !== "1")
 	die('"allow_url_fopen" is not set to "1". Please check "php.ini');