diff options
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r-- | core/js/setupchecks.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 13e351445e9..628606a9e5b 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -316,8 +316,17 @@ type: OC.SetupChecks.MESSAGE_TYPE_WARNING }); } + if (!data.isMemoryLimitSufficient) { + messages.push({ + msg: t( + 'core', + 'The PHP memory limit is below the recommended value of 512MB.' + ), + type: OC.SetupChecks.MESSAGE_TYPE_WARNING + }) + } - if(data.appDirsWithDifferentOwner.length > 0) { + if(data.appDirsWithDifferentOwner && data.appDirsWithDifferentOwner.length > 0) { var appDirsWithDifferentOwner = data.appDirsWithDifferentOwner.reduce( function(appDirsWithDifferentOwner, directory) { return appDirsWithDifferentOwner + '<li>' + directory + '</li>'; |