diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-13 12:36:48 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-12-13 17:20:48 +0100 |
commit | 7618473a443aaa42d06391a134525d51a6912f39 (patch) | |
tree | b2da3b6465abc70acc99f73538f35b4c1c0bd10e /core/js | |
parent | 2943b54f98c53ded616ae9ab3ebe2c6b8e47f762 (diff) | |
download | nextcloud-server-7618473a443aaa42d06391a134525d51a6912f39.tar.gz nextcloud-server-7618473a443aaa42d06391a134525d51a6912f39.zip |
Add warning regarding freetype support
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/setupchecks.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 44bf33dd711..439826161d8 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -174,6 +174,15 @@ type: OC.SetupChecks.MESSAGE_TYPE_WARNING }); } + if (!data.hasFreeTypeSupport) { + messages.push({ + msg: t( + 'core', + 'Your PHP does not have freetype support. This will result in broken profile pictures and settings interface.' + ), + type: OC.SetupChecks.MESSAGE_TYPE_INFO + }) + } } else { messages.push({ msg: t('core', 'Error occurred while checking server setup'), |