Mercurial > hg > fapweb
annotate mconfig.inc.php.example @ 97:2f3fd26babed
Helpful comment about how important it is to check the default site
settings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Oct 2013 20:30:12 +0300 |
parents | 6edd7d623eab |
children | 5837b9333964 |
rev | line source |
---|---|
0 | 1 <? |
97
2f3fd26babed
Helpful comment about how important it is to check the default site
Matti Hamalainen <ccr@tnsp.org>
parents:
94
diff
changeset
|
2 // Site configuration, important settings that MUST be reviewed and set |
2f3fd26babed
Helpful comment about how important it is to check the default site
Matti Hamalainen <ccr@tnsp.org>
parents:
94
diff
changeset
|
3 // correctly, and generally should not be changed afterwards ... |
2f3fd26babed
Helpful comment about how important it is to check the default site
Matti Hamalainen <ccr@tnsp.org>
parents:
94
diff
changeset
|
4 // Apart from the debug, and timeout settings. |
0 | 5 $siteSettings = array( |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
6 // "admPassword" => "xxx", |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
7 "sqlDB" => "sqlite:fap.sqlite3", |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
8 |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
9 "debug" => false, |
0 | 10 |
26
7be3f8cf1f7a
Lots of cleanups, preparing for adding entry submission support.
Matti Hamalainen <ccr@tnsp.org>
parents:
22
diff
changeset
|
11 "userKeyLength" => 8, |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
12 "voteMin" => -1, |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
13 "voteMax" => 2, |
0 | 14 |
94
6edd7d623eab
Start adding votekey modes code.
Matti Hamalainen <ccr@tnsp.org>
parents:
51
diff
changeset
|
15 "voteKeyMode" => -1, // See msite.inc.php for VOTE_* |
6edd7d623eab
Start adding votekey modes code.
Matti Hamalainen <ccr@tnsp.org>
parents:
51
diff
changeset
|
16 |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
17 "voteTimeout" => 120, |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
18 "admTimeout" => 15, |
0 | 19 ); |
20 | |
51 | 21 date_default_timezone_set("Europe/Helsinki"); |
0 | 22 |
23 $securePages = array( | |
24 "/fap2012/admin" => true, | |
25 "/fap2012/register" => true, | |
26 "/fap2012/vote" => false, | |
27 ); | |
28 | |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
29 |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
30 $pageTitle = "Finnish Amiga Party 2022"; |
0 | 31 $pageCharset = "utf-8"; |
32 $pageCSS = "fap.css"; | |
33 | |
34 ?> |