From 28b32edfab8d4165c5b1fb55072640a7ca32b327 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 3 Mar 2022 19:21:25 +0100 Subject: [PATCH] Update optional php extensions --- snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Admin.php | 2 +- snappymail/v/0.0.0/setup.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Admin.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Admin.php index 538d80764..8d8eed88f 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Admin.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Admin.php @@ -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)) diff --git a/snappymail/v/0.0.0/setup.php b/snappymail/v/0.0.0/setup.php index 7cdd8fe2e..c8186e54e 100644 --- a/snappymail/v/0.0.0/setup.php +++ b/snappymail/v/0.0.0/setup.php @@ -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'),