mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
check for openssl and openssl_cipher_iv_length
This commit is contained in:
parent
ff78380f4b
commit
5ca2bf9fe0
|
@ -105,12 +105,12 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
|
|||
echo implode(', ', $phpextensions);
|
||||
|
||||
$this->contentHeading(getMLText("missing_php_extensions"));
|
||||
$requiredext = array('zip', 'xml', 'xsl', 'json', 'intl', 'fileinfo', 'mbstring', 'curl', 'sqlite3', 'imagick');
|
||||
$requiredext = array('zip', 'xml', 'xsl', 'json', 'intl', 'fileinfo', 'mbstring', 'curl', 'sqlite3', 'imagick', 'openssl');
|
||||
echo implode(', ', array_diff($requiredext, $phpextensions));
|
||||
|
||||
$this->contentHeading(getMLText("missing_php_functions_and_classes"));
|
||||
$missingfunc = [];
|
||||
foreach(array('proc_open') as $funcname) {
|
||||
foreach(array('proc_open', 'openssl_cipher_iv_length') as $funcname) {
|
||||
if(!function_exists($funcname)) {
|
||||
$missingfunc[] = $funcname; //getMLText('func_'.$funcname."_missing")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user