-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.dist.php
74 lines (62 loc) · 2.06 KB
/
config.dist.php
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
69
70
71
72
73
74
<?php
/**
* Config file. For a full list of options, please see
* http://docs.openacalendar.org/
*
* @link http://docs.openacalendar.org/ Config File Options
* @link http://ican.openacalendar.org/ OpenACalendar Open Source Software
* @license http://ican.openacalendar.org/license.html 3-clause BSD
*/
/**
* Is in Debug mode?
*/
$CONFIG->isDebug = false;
/**
* DB details.
*/
$CONFIG->databaseName = 'openacalendar';
$CONFIG->databaseHost = 'localhost';
$CONFIG->databaseUser = 'openacalendar';
$CONFIG->databasePassword = 'password';
/**
* Site Title.
*/
$CONFIG->siteTitle = "Open A Calendar";
/**
* To understand the differences between Single Site and Multi Site mode see
* http://ican.openacalendar.org/docs/singlesite.html
*/
$CONFIG->isSingleSiteMode = TRUE;
/**
* If single site mode, what is the ID of the calendar that this will serve?
* If you created the calendar as part of the install procedure it will almost certainly be 1,
*/
$CONFIG->singleSiteID = 1;
/**
* For Single Site mode these are all the same.
* For Multi Site mode these are all different and webSiteDomain must allow subdomains.
* eg a value of "example.co.uk" should allow and serve any domain "*.example.co.uk"
*/
$CONFIG->webIndexDomain = "www.example.co.uk";
$CONFIG->webSiteDomain = "example.co.uk";
/** Is SSL available? **/
$CONFIG->hasSSL = FALSE;
$CONFIG->webIndexDomainSSL = "www.example.co.uk";
$CONFIG->webSiteDomainSSL = "example.co.uk";
/**
* For single site mode set same as webIndexDomain.
* In multi site mode, cookies must travel between webIndexDomain and webSiteDomain.
* Set this to be a common root such that cookies with this domain set can travel across all 3.
*/
$CONFIG->webCommonSessionDomain = "example.co.uk";
/**
* A folder writeable by the app in which to store uploaded files.
* Back this up along side your database!
*/
//$CONFIG->fileStoreLocation= '/OpenACalendarFileStore';
/**
* Extensions.
*
* It is currently strongly recommended to have 'CuratedLists' installed, Parts of the core code use this.
*/
$CONFIG->extensions = array('CuratedLists');