diff --git a/includes/misc.inc.php b/includes/misc.inc.php
index d0b31dd..0266fff 100644
--- a/includes/misc.inc.php
+++ b/includes/misc.inc.php
@@ -20,6 +20,12 @@ if (!isset($authdb)) {
 }
 
 /* No need to change stuf below */
+
+if (function_exists('curl_init') === FALSE) {
+    $errormsg = "You need PHP Curl to run nsedit";
+    $blocklogin = TRUE;
+}
+
 $defaults['defaulttype'] = ucfirst(strtolower($defaults['defaulttype']));
 
 if (isset($authdb) && !file_exists($authdb)) {