mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Add a check for openssl issue #61
This commit is contained in:
parent
bff07c1244
commit
58d5dcb626
1 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,12 @@ if (class_exists('SQLite3') === FALSE) {
|
||||||
$blocklogin = TRUE;
|
$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']));
|
$defaults['defaulttype'] = ucfirst(strtolower($defaults['defaulttype']));
|
||||||
|
|
||||||
if (isset($authdb) && !file_exists($authdb) && class_exists('SQLite3')) {
|
if (isset($authdb) && !file_exists($authdb) && class_exists('SQLite3')) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue