From 5ca2bf9fe06397a1e87c7c643fb4e60e1bce2897 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 19 Apr 2023 06:41:52 +0200 Subject: [PATCH] check for openssl and openssl_cipher_iv_length --- views/bootstrap/class.Info.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Info.php b/views/bootstrap/class.Info.php index 71b9a030b..4b4bb439f 100644 --- a/views/bootstrap/class.Info.php +++ b/views/bootstrap/class.Info.php @@ -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") }