mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-05-06 22:32:22 +03:00
Merge pull request #71 from ruben-herold/master
Add a check for openssl issue #61
This commit is contained in:
commit
21ef7202a3
1 changed files with 6 additions and 0 deletions
|
@ -61,6 +61,12 @@ if (class_exists('SQLite3') === FALSE) {
|
|||
$errormsg = "You need PHP SQLite3 to run nsedit";
|
||||
$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']));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue