forked from cambridgesu/bob-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php.template
68 lines (54 loc) · 2.64 KB
/
config.php.template
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
# Config settings used by the various modules
# URL of site
$config['liveServerUrl'] = 'https://www.vote.example.com'; // Not slash-terminated
# Role e-mail addresses
$config['administratorEmail'] = '[email protected]'; // Server sysadmin
$config['emailTech'] = '[email protected]'; // Voting system tech contact
$config['emailReturningOfficerReceipts'] = '[email protected]'; // Mailbox where voting receipts get archived
# MTA settings
$config['mailDomain'] = 'example.com';
# Database connection details
$config['dbHostname'] = 'localhost';
$config['dbDatabase'] = 'votes';
$config['dbDatabaseStaging'] = 'votesstaging';
$config['dbUsername'] = 'testvote';
$config['dbSetupUsername'] = 'testvotesetup';
$config['dbPassword'] = 'your_password_goes_here';
$config['listingUsername'] = 'bobguiListing';
$config['listingPassword'] = 'your_password_goes_here';
$config['ingestUsername'] = 'bobguiIngest';
$config['ingestPassword'] = 'your_password_goes_here';
$config['controlpanelUsername'] = 'bobgui';
$config['controlpanelPassword'] = 'your_password_goes_here';
$config['installerUsername'] = 'root';
$config['installerPassword'] = false;
# BOB config, fixed by administrator
$config['voterReceiptDisableable'] = false;
$config['countingMethod'] = 'ERS97STV';
$config['countingInstallation'] = '%documentroot/../../openstv/openstv/'; // Counting installation config; must end /openstv/ (slash-terminated), or false to disable auto-count
$config['disableListWhoVoted'] = false; // Whether to disable the list of usernames who voted that appears on the show votes page afterwards
# Organisation name
$config['organisationName'] = false;
# Control panel settings
$config['enabled'] = false; // Not enabled on live site by default
$config['controlPanelUrl'] = 'https://www.controlpanel.vote.example.com/controlpanel/';
$config['controlPanelOnlyUsers'] = ''; // Space-separated string of usernames, or false/empty-string for no limitation (i.e. allow all authenticated users)
$config['controlPanelLinkDirectly'] = false;
$config['maximumOpeningDays'] = 3;
$config['disableSurnameForenameRequirement'] = false;
$config['disableRonAvailability'] = false;
$config['apiKey'] = 'api_key_goes_here'; // Bestow endpoint
# Ingest data
$config['instanceDataUrl'] = 'https://www.controlpanel.vote.example.com/bestow.json';
$config['instanceDataApiKey'] = 'your_api_key_here';
$config['databaseStaging'] = 'votesstaging';
$config['databaseLive'] = 'votes';
# Listing UI settings
$config['listingWelcomeMessageHtml'] = false;
# Other settings
$config['singleOrganisationMode'] = false;
# Ingest SMS notifications
$config['smsRecipient'] = '441234567890';
$config['smsApiKey'] = false;
?>