mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +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
|
'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[] = [
|
$aResult[] = [
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'loaded' => \extension_loaded(\strtolower($name))
|
'loaded' => \extension_loaded(\strtolower($name))
|
||||||
|
|
|
@ -13,10 +13,11 @@ if (defined('APP_VERSION'))
|
||||||
$aOptional = array(
|
$aOptional = array(
|
||||||
'cURL' => extension_loaded('curl'),
|
'cURL' => extension_loaded('curl'),
|
||||||
'exif' => extension_loaded('exif'),
|
'exif' => extension_loaded('exif'),
|
||||||
'gnupg' => extension_loaded('gnupg'),
|
|
||||||
'gd' => extension_loaded('gd'),
|
'gd' => extension_loaded('gd'),
|
||||||
|
'gnupg' => extension_loaded('gnupg'),
|
||||||
'gmagick' => extension_loaded('gmagick'),
|
'gmagick' => extension_loaded('gmagick'),
|
||||||
'imagick' => extension_loaded('imagick'),
|
'imagick' => extension_loaded('imagick'),
|
||||||
|
'iconv' => function_exists('iconv'),
|
||||||
'intl' => function_exists('idn_to_ascii'),
|
'intl' => function_exists('idn_to_ascii'),
|
||||||
'ldap' => extension_loaded('ldap'),
|
'ldap' => extension_loaded('ldap'),
|
||||||
'OpenSSL' => extension_loaded('openssl'),
|
'OpenSSL' => extension_loaded('openssl'),
|
||||||
|
|
Loading…
Reference in a new issue