diff options
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r-- | core/js/setupchecks.js | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index c50781f1485..222b12b8f40 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -324,6 +324,19 @@ type: OC.SetupChecks.MESSAGE_TYPE_INFO }) } + if (data.recommendedPHPModules.length > 0) { + var listOfRecommendedPHPModules = ""; + data.recommendedPHPModules.forEach(function(element){ + listOfRecommendedPHPModules += "<li>" + element + "</li>"; + }); + messages.push({ + msg: t( + 'core', + 'This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.' + ) + "<ul><code>" + listOfRecommendedPHPModules + "</code></ul>", + type: OC.SetupChecks.MESSAGE_TYPE_INFO + }) + } if (data.isSqliteUsed) { messages.push({ msg: t( @@ -340,7 +353,7 @@ type: OC.SetupChecks.MESSAGE_TYPE_WARNING }) } - if (data.isPhpMailerUsed) { + if (data.isPHPMailerUsed) { messages.push({ msg: t( 'core', |