blob: 5e506755aafff40eab540759789eec415dc1f1a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
if (isset($configVars["SLX_LOCATIONS"])) {
$locationIds = explode(' ', $configVars["SLX_LOCATIONS"]);
} else {
$locationIds = array();
}
if (Exams::isInExamMode($locationIds, $lectureId, $autoLogin)) {
$configVars['SLX_EXAM'] = 'yes';
if (strlen($lectureId) > 0) {
$configVars['SLX_EXAM_START'] = $lectureId;
}
if (strlen($autoLogin) > 0) {
$configVars['SLX_AUTOLOGIN'] = $autoLogin;
}
}
|