summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorKo- <k.stoffelen@cs.ru.nl>2017-03-16 11:48:28 +0100
committerKo- <k.stoffelen@cs.ru.nl>2017-03-16 11:48:28 +0100
commit786ee72146773966ed774ee9a8128fbb2a2a713a (patch)
tree52c970ebaa3e0836ae12c036a8723bb8c838b67f /core/js
parent0024b67aaf1b5fd79a2e73789a4c903364162e54 (diff)
downloadnextcloud-server-786ee72146773966ed774ee9a8128fbb2a2a713a.tar.gz
nextcloud-server-786ee72146773966ed774ee9a8128fbb2a2a713a.zip
Add warning on admin screen when set_time_limit is unavailable
Diffstat (limited to 'core/js')
-rw-r--r--core/js/setupchecks.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index fcbbba6af62..53b2e46f90a 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -160,6 +160,14 @@
type: OC.SetupChecks.MESSAGE_TYPE_INFO
});
}
+ if(!data.isSettimelimitAvailable) {
+ messages.push({
+ msg: t(
+ 'core',
+ 'The PHP function "set_time_limit" is not available. This could result in scripts being halted mid-execution, breaking your installation. We strongly recommend enabling this function.'),
+ type: OC.SetupChecks.MESSAGE_TYPE_WARNING
+ });
+ }
} else {
messages.push({
msg: t('core', 'Error occurred while checking server setup'),