N°1885 move back php-gd from mandatory extension to optional

(cherry picked from commit 672bc471be)
This commit is contained in:
Pierre Goiffon
2018-12-18 08:52:43 +01:00
parent bc5643707e
commit 75d5630164

View File

@@ -102,11 +102,11 @@ class SetupUtils
'dom', 'dom',
'zlib', 'zlib',
'zip', 'zip',
'gd', // used to test image type (always returns false if not installed), image resizing, PDF export
); );
$aOptionalExtensions = array( $aOptionalExtensions = array(
'mcrypt' => 'Strong encryption will not be used.', 'mcrypt' => 'Strong encryption will not be used.',
'ldap' => 'LDAP authentication will be disabled.', 'ldap' => 'LDAP authentication will be disabled.',
'gd' => 'test image type (always returns false if not installed), image resizing, PDF export',
); );
asort($aMandatoryExtensions); // Sort the list to look clean ! asort($aMandatoryExtensions); // Sort the list to look clean !
ksort($aOptionalExtensions); // Sort the list to look clean ! ksort($aOptionalExtensions); // Sort the list to look clean !