mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-15 09:39:17 +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);
|
echo implode(', ', $phpextensions);
|
||||||
|
|
||||||
$this->contentHeading(getMLText("missing_php_extensions"));
|
$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));
|
echo implode(', ', array_diff($requiredext, $phpextensions));
|
||||||
|
|
||||||
$this->contentHeading(getMLText("missing_php_functions_and_classes"));
|
$this->contentHeading(getMLText("missing_php_functions_and_classes"));
|
||||||
$missingfunc = [];
|
$missingfunc = [];
|
||||||
foreach(array('proc_open') as $funcname) {
|
foreach(array('proc_open', 'openssl_cipher_iv_length') as $funcname) {
|
||||||
if(!function_exists($funcname)) {
|
if(!function_exists($funcname)) {
|
||||||
$missingfunc[] = $funcname; //getMLText('func_'.$funcname."_missing")
|
$missingfunc[] = $funcname; //getMLText('func_'.$funcname."_missing")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user