Merge pull request #71 from ruben-herold/master

Add a check for openssl issue #61
This commit is contained in:
Tuxis Internet Engineering V.O.F 2016-01-02 11:10:02 +01:00
commit 21ef7202a3

View file

@ -62,6 +62,12 @@ if (class_exists('SQLite3') === FALSE) {
$blocklogin = TRUE;
}
if (function_exists('openssl_random_pseudo_bytes') === FALSE) {
$errormsg = "You need PHP compiled with openssl to run nsedit";
$blocklogin = TRUE;
}
$defaults['defaulttype'] = ucfirst(strtolower($defaults['defaulttype']));
if (isset($authdb) && !file_exists($authdb) && class_exists('SQLite3')) {