This commit is contained in:
the-djmaze 2024-01-16 15:48:47 +01:00
parent 34e4bad77f
commit 816a2745bc
2 changed files with 4 additions and 2 deletions

View file

@ -290,7 +290,7 @@ class ActionsAdmin extends Actions
] ]
]; ];
foreach (['APCu', 'cURL','GnuPG','GD','Gmagick','Imagick','iconv','intl','LDAP','OpenSSL','pdo_mysql','pdo_pgsql','pdo_sqlite','redis','Sodium','Tidy','uuid','XXTEA','Zip'] as $name) { foreach (['APCu', 'cURL','Fileinfo','GnuPG','GD','Gmagick','Imagick','iconv','intl','LDAP','OpenSSL','pdo_mysql','pdo_pgsql','pdo_sqlite','redis','Sodium','Tidy','uuid','XXTEA','Zip'] as $name) {
$aResult['php'][] = [ $aResult['php'][] = [
'name' => ('OpenSSL' === $name && \defined('OPENSSL_VERSION_TEXT')) ? OPENSSL_VERSION_TEXT : $name, 'name' => ('OpenSSL' === $name && \defined('OPENSSL_VERSION_TEXT')) ? OPENSSL_VERSION_TEXT : $name,
'loaded' => \extension_loaded(\strtolower($name)), 'loaded' => \extension_loaded(\strtolower($name)),

View file

@ -103,7 +103,9 @@ abstract class Integrity
'ctype' => extension_loaded('ctype'), 'ctype' => extension_loaded('ctype'),
'json' => function_exists('json_decode'), 'json' => function_exists('json_decode'),
'libxml' => function_exists('libxml_use_internal_errors'), 'libxml' => function_exists('libxml_use_internal_errors'),
'dom' => class_exists('DOMDocument') 'dom' => class_exists('DOMDocument'),
// https://github.com/the-djmaze/snappymail/issues/1392
'fileinfo' => extension_loaded('fileinfo')
// https://github.com/the-djmaze/snappymail/issues/392 // https://github.com/the-djmaze/snappymail/issues/392
// 'phar' => class_exists('PharData') // 'phar' => class_exists('PharData')
); );