check for openssl and openssl_cipher_iv_length

This commit is contained in:
Uwe Steinmann 2023-04-19 06:41:52 +02:00
parent ff78380f4b
commit 5ca2bf9fe0

View File

@ -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")
}