1 2 3 4 5 6 7 8 9 10 11
<?php if (isset($configVars["SLX_LOCATIONS"])) { $locationIds = explode(' ', $configVars["SLX_LOCATIONS"]); if (Exams::isInExamMode($locationIds, $lectureId)) { $configVars['SLX_EXAM'] = 'yes'; if (strlen($lectureId) > 0) { $configVars['SLX_EXAM_START'] = $lectureId; } } }