Mercurial > hg > fapweb
annotate mconfig.inc.php.example @ 94:6edd7d623eab
Start adding votekey modes code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Oct 2013 20:28:58 +0300 |
parents | 7bdf89601ba0 |
children | 2f3fd26babed |
rev | line source |
---|---|
0 | 1 <? |
2 // Site configuration | |
3 $siteSettings = array( | |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
4 // "admPassword" => "xxx", |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
5 "sqlDB" => "sqlite:fap.sqlite3", |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
6 |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
7 "debug" => false, |
0 | 8 |
26
7be3f8cf1f7a
Lots of cleanups, preparing for adding entry submission support.
Matti Hamalainen <ccr@tnsp.org>
parents:
22
diff
changeset
|
9 "userKeyLength" => 8, |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
10 "voteMin" => -1, |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
11 "voteMax" => 2, |
0 | 12 |
94
6edd7d623eab
Start adding votekey modes code.
Matti Hamalainen <ccr@tnsp.org>
parents:
51
diff
changeset
|
13 "voteKeyMode" => -1, // See msite.inc.php for VOTE_* |
6edd7d623eab
Start adding votekey modes code.
Matti Hamalainen <ccr@tnsp.org>
parents:
51
diff
changeset
|
14 |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
15 "voteTimeout" => 120, |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
16 "admTimeout" => 15, |
0 | 17 ); |
18 | |
51 | 19 date_default_timezone_set("Europe/Helsinki"); |
0 | 20 |
21 $securePages = array( | |
22 "/fap2012/admin" => true, | |
23 "/fap2012/register" => true, | |
24 "/fap2012/vote" => false, | |
25 ); | |
26 | |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
27 |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
28 $pageTitle = "Finnish Amiga Party 2022"; |
0 | 29 $pageCharset = "utf-8"; |
30 $pageCSS = "fap.css"; | |
31 | |
32 ?> |