Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-03-08 18:49:30 +0300
committerJulius Härtl <jus@bitgrid.net>2021-03-08 18:49:30 +0300
commit296332efa38d25e18ffe066843d707bbc835068c (patch)
tree705cc67ac440a5fb23054599b63e320901a3db6e /config
parent615721df822763640adac016d9bf5a637c0a0360 (diff)
Add hint about possible limit when setting a session_lifetime
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 5792381e4d7..72679a52998 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -249,6 +249,9 @@ $CONFIG = [
/**
* The lifetime of a session after inactivity.
*
+ * The maximum possible time is limited by the session.gc_maxlifetime php.ini setting
+ * which would overwrite this option if it is less than the value in the config.php
+ *
* Defaults to ``60*60*24`` seconds (24 hours)
*/
'session_lifetime' => 60 * 60 * 24,