- Fixed Trac #318 (and #335): added the check of the mandatory DOM extension.

SVN:trunk[994]
This commit is contained in:
Denis Flaven
2010-11-29 18:27:44 +00:00
parent 7f8f4f5aab
commit d8f2979c5a

View File

@@ -168,7 +168,7 @@ function CheckPHPVersion(SetupWebPage $oP)
$oP->error("Error: The current PHP Version (".phpversion().") is lower than the minimum required version (".PHP_MIN_VERSION.")");
return false;
}
$aMandatoryExtensions = array('mysql', 'iconv', 'simplexml', 'soap', 'hash', 'json', 'session', 'pcre');
$aMandatoryExtensions = array('mysql', 'iconv', 'simplexml', 'soap', 'hash', 'json', 'session', 'pcre', 'dom');
$aOptionalExtensions = array('mcrypt' => 'Strong encryption will not be used.',
'ldap' => 'LDAP authentication will be disabled.');
asort($aMandatoryExtensions); // Sort the list to look clean !