diff options
author | Simon Rettberg | 2017-11-14 15:04:48 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-14 15:04:48 +0100 |
commit | 1f95b689d8c4b46cc055b45ad12dfa0c0c8794cf (patch) | |
tree | c8c7952e96bcd901f91f7da6bde5a239473831d3 /modules-available/exams | |
parent | [runmode] Fix var typo in install script (diff) | |
download | slx-admin-1f95b689d8c4b46cc055b45ad12dfa0c0c8794cf.tar.gz slx-admin-1f95b689d8c4b46cc055b45ad12dfa0c0c8794cf.tar.xz slx-admin-1f95b689d8c4b46cc055b45ad12dfa0c0c8794cf.zip |
[exams/roomplanner] Smarter coordination of run mode (exam mode on/off etc)
Diffstat (limited to 'modules-available/exams')
-rw-r--r-- | modules-available/exams/baseconfig/getconfig.inc.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules-available/exams/baseconfig/getconfig.inc.php b/modules-available/exams/baseconfig/getconfig.inc.php index 325badb0..37a2caf4 100644 --- a/modules-available/exams/baseconfig/getconfig.inc.php +++ b/modules-available/exams/baseconfig/getconfig.inc.php @@ -7,11 +7,13 @@ if ($locations === false) { $locationIds = explode(' ', $locations); } if (Exams::isInExamMode($locationIds, $lectureId, $autoLogin)) { - ConfigHolder::add('SLX_EXAM', 'yes', 100000); + ConfigHolder::add('SLX_EXAM', 'yes', 10000); if (strlen($lectureId) > 0) { - ConfigHolder::add('SLX_EXAM_START', $lectureId, 100000); + ConfigHolder::add('SLX_EXAM_START', $lectureId, 10000); } if (strlen($autoLogin) > 0) { - ConfigHolder::add('SLX_AUTOLOGIN', $autoLogin, 100000); + ConfigHolder::add('SLX_AUTOLOGIN', $autoLogin, 10000); } + ConfigHolder::add('SLX_SYSTEMD_TARGET', 'exam-mode', 10000); + ConfigHolder::add("SLX_PVS_HYBRID", false, 10000); } |