New sessiontimeout config variable to set the timeout for sessions

This commit is contained in:
moodler
2003-01-24 04:31:58 +00:00
parent 7d8f674dea
commit eb58acca4d
4 changed files with 30 additions and 0 deletions
+6
View File
@@ -67,6 +67,12 @@
}
/// Set session timeouts
if (!empty($CFG->sessiontimeout)) {
ini_set("session.gc_maxlifetime", $CFG->sessiontimeout);
}
/// Location of standard files
$CFG->wordlist = "$CFG->libdir/wordlist.txt";