Disable PDF export if the PHP extension "GD" is not loaded.

SVN:trunk[4307]
This commit is contained in:
Denis Flaven
2016-07-15 07:05:06 +00:00
parent 2c78a91a00
commit d80d24c348
3 changed files with 11 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ class SetupUtils
$aMandatoryExtensions = array('mysqli', 'iconv', 'simplexml', 'soap', 'hash', 'json', 'session', 'pcre', 'dom', 'zip');
$aOptionalExtensions = array('mcrypt' => 'Strong encryption will not be used.',
'ldap' => 'LDAP authentication will be disabled.',
'gd' => 'PDF export of impact/dependency diagrams will be disabled');
'gd' => 'PDF export will be disabled');
asort($aMandatoryExtensions); // Sort the list to look clean !
ksort($aOptionalExtensions); // Sort the list to look clean !
$aExtensionsOk = array();