summaryrefslogtreecommitdiffstats
path: root/core/js/setupchecks.js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-03-26 14:51:33 +0100
committerLukas Reschke <lukas@owncloud.com>2015-03-28 13:59:22 +0100
commit65202d2a18aca3b253ce5f3c7c9af17ee6d12e52 (patch)
tree04453d95db5dc3df386188cd85032052fded6db9 /core/js/setupchecks.js
parentd3752ca1e925c3aed46c13f7ea26c8f540db05e0 (diff)
downloadnextcloud-server-65202d2a18aca3b253ce5f3c7c9af17ee6d12e52.tar.gz
nextcloud-server-65202d2a18aca3b253ce5f3c7c9af17ee6d12e52.zip
Add check for activated local memcache
Also used the opportunity to refactor it into an AppFramework controller so that we can unit test it. Fixes https://github.com/owncloud/core/issues/14956
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r--core/js/setupchecks.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index 67925d75d34..82c068cd683 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -59,6 +59,11 @@
t('core', 'Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. We strongly suggest that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.')
);
}
+ if(!data.isMemcacheConfigured) {
+ messages.push(
+ t('core', 'No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our <a href="https://doc.owncloud.org/server/8.0/admin_manual/configuration_server/performance_tuning.html">documentation</a>.')
+ );
+ }
} else {
messages.push(t('core', 'Error occurred while checking server setup'));
}