Merge pull request #20421 from nextcloud/fix/20393/recommendend_webauthn_mods

Show setup check for recommended php modules
This commit is contained in:
Roeland Jago Douma 2020-04-12 15:56:10 +02:00 committed by GitHub
commit 1cc793888f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -583,6 +583,14 @@ Raw output
$recommendedPHPModules[] = 'intl';
}
if (!extension_loaded('bcmath')) {
$recommendedPHPModules[] = 'bcmath';
}
if (!extension_loaded('gmp')) {
$recommendedPHPModules[] = 'gmp';
}
if ($this->config->getAppValue('theming', 'enabled', 'no') === 'yes') {
if (!extension_loaded('imagick')) {
$recommendedPHPModules[] = 'imagick';