mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-31 03:52:01 +08:00
Update optional php extensions
This commit is contained in:
parent
f50f2c5ea0
commit
28b32edfab
2 changed files with 3 additions and 2 deletions
|
@ -690,7 +690,7 @@ trait Admin
|
|||
'loaded' => true
|
||||
]
|
||||
];
|
||||
foreach (['APCu', 'cURL','GnuPG','GD','Gmagick','Imagick','intl','LDAP','OpenSSL','pdo_mysql','pdo_pgsql','pdo_sqlite','redis','Sodium','Tidy','uuid','XXTEA','Zip'] as $name) {
|
||||
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) {
|
||||
$aResult[] = [
|
||||
'name' => $name,
|
||||
'loaded' => \extension_loaded(\strtolower($name))
|
||||
|
|
|
@ -13,10 +13,11 @@ if (defined('APP_VERSION'))
|
|||
$aOptional = array(
|
||||
'cURL' => extension_loaded('curl'),
|
||||
'exif' => extension_loaded('exif'),
|
||||
'gnupg' => extension_loaded('gnupg'),
|
||||
'gd' => extension_loaded('gd'),
|
||||
'gnupg' => extension_loaded('gnupg'),
|
||||
'gmagick' => extension_loaded('gmagick'),
|
||||
'imagick' => extension_loaded('imagick'),
|
||||
'iconv' => function_exists('iconv'),
|
||||
'intl' => function_exists('idn_to_ascii'),
|
||||
'ldap' => extension_loaded('ldap'),
|
||||
'OpenSSL' => extension_loaded('openssl'),
|
||||
|
|
Loading…
Reference in a new issue