aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-03-05 20:26:16 +0100
committerszaimen <szaimen@e.mail.de>2022-03-07 17:35:12 +0100
commit7dca146b5830b8232b1684c8bb59948898b9b618 (patch)
treeecb4192dec4a875e5e580238e1243a9b413c2818 /core/js
parente96c85921bcd3c730fe0f5dd3fd39c652c0220a1 (diff)
downloadnextcloud-server-7dca146b5830b8232b1684c8bb59948898b9b618.tar.gz
nextcloud-server-7dca146b5830b8232b1684c8bb59948898b9b618.zip
allow to disable the imagick warning
Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: MichaIng <micha@dietpi.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/setupchecks.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index 95d8c6cbdc2..3b6c2ef71c1 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -423,6 +423,24 @@
type: OC.SetupChecks.MESSAGE_TYPE_INFO
})
}
+ if (!data.isImagickEnabled) {
+ messages.push({
+ msg: t(
+ 'core',
+ 'The PHP module "imagick" is not enabled although the theming app is. For favicon generation to work correctly, you need to install and enable this module.'
+ ),
+ type: OC.SetupChecks.MESSAGE_TYPE_INFO
+ })
+ }
+ if (!data.areWebauthnExtensionsEnabled) {
+ messages.push({
+ msg: t(
+ 'core',
+ 'The PHP modules "gmp" and/or "bcmath" are not enabled. If you use WebAuthn passwordless authentication, these modules are required.'
+ ),
+ type: OC.SetupChecks.MESSAGE_TYPE_INFO
+ })
+ }
if (data.imageMagickLacksSVGSupport) {
messages.push({
msg: t(