summaryrefslogtreecommitdiffstats
path: root/modules-available/exams/baseconfig/getconfig.inc.php
blob: 2776d3a8193453050d5424b06cdfcb7682da8135 (plain) (blame)
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;
		}
	}
}