mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 09:02:45 +08:00
Resolve #1392
This commit is contained in:
parent
34e4bad77f
commit
816a2745bc
2 changed files with 4 additions and 2 deletions
|
@ -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)),
|
||||||
|
|
|
@ -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')
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue