summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-12 15:56:10 +0200
committerGitHub <noreply@github.com>2020-04-12 15:56:10 +0200
commit1cc793888f66bb80cb8a5d9d77c5bb279a2acf0b (patch)
treeea8e9b7cba4dd5ffeac6ca9cd22c3cb4b274b909 /apps/settings/lib
parent89242142998475fa94f27f99b02c4429b0b9bffd (diff)
parent75836f004dddeef9b4e5aed783c91d1376a6c927 (diff)
downloadnextcloud-server-1cc793888f66bb80cb8a5d9d77c5bb279a2acf0b.tar.gz
nextcloud-server-1cc793888f66bb80cb8a5d9d77c5bb279a2acf0b.zip
Merge pull request #20421 from nextcloud/fix/20393/recommendend_webauthn_mods
Show setup check for recommended php modules
Diffstat (limited to 'apps/settings/lib')
-rw-r--r--apps/settings/lib/Controller/CheckSetupController.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php
index a0d374e5b44..02886d16f4d 100644
--- a/apps/settings/lib/Controller/CheckSetupController.php
+++ b/apps/settings/lib/Controller/CheckSetupController.php
@@ -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';