-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcourse-setup.php
More file actions
28 lines (25 loc) · 942 Bytes
/
Copy pathcourse-setup.php
File metadata and controls
28 lines (25 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*
* Course Exercise Server Configuration
*
* Customize me!
*/
const OWNER = 'webmaster@example.com';
$HANDOUT_ORIGINS = array('http://example.com', 'https://example.com');
const OMNIVORE = 'https://omnivore.example.com';
const COURSE = '6.HANDX';
const SEMESTER = 'ia00';
$HANDOUT_TOC_KINDS = array('classes');
// for remote delivery: path and secret
// $WWW_FS = '/mit/6.HANDX/www/' . SEMESTER;
// $WWW_SECRET = 'abcd1234';
const LOGIN_MODE = 'certificate'; // use 'certificate' or 'shibauth'
// with shibauth login mode: filesystem and web paths
// const SHIBAUTH_FS = '.../shibauth';
// const SHIBAUTH_WEB = '/shibauth';
// optional: message displayed in status box
const MOTD = 'Questions about the reading?<br><b>Better luck next time!</b></a>';
// optional: login is required to submit exercises until end of class
// const LOGIN_UNTIL = '2000-02-01';
const MAINTENANCE = false; // maintenance mode prevents submission
?>