Mercurial > hg > fapweb
annotate mconfig.inc.php.example @ 123:5837b9333964
Add new "about" page, and setting for default page.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Oct 2013 15:18:09 +0300 |
parents | 2f3fd26babed |
children | 9c20703a7a61 |
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 |
123
5837b9333964
Add new "about" page, and setting for default page.
Matti Hamalainen <ccr@tnsp.org>
parents:
97
diff
changeset
|
11 "defaultPage" => "about", // Default page |
5837b9333964
Add new "about" page, and setting for default page.
Matti Hamalainen <ccr@tnsp.org>
parents:
97
diff
changeset
|
12 |
26
7be3f8cf1f7a
Lots of cleanups, preparing for adding entry submission support.
Matti Hamalainen <ccr@tnsp.org>
parents:
22
diff
changeset
|
13 "userKeyLength" => 8, |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
14 "voteMin" => -1, |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
15 "voteMax" => 2, |
0 | 16 |
94
6edd7d623eab
Start adding votekey modes code.
Matti Hamalainen <ccr@tnsp.org>
parents:
51
diff
changeset
|
17 "voteKeyMode" => -1, // See msite.inc.php for VOTE_* |
6edd7d623eab
Start adding votekey modes code.
Matti Hamalainen <ccr@tnsp.org>
parents:
51
diff
changeset
|
18 |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
19 "voteTimeout" => 120, |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
20 "admTimeout" => 15, |
0 | 21 ); |
22 | |
51 | 23 date_default_timezone_set("Europe/Helsinki"); |
0 | 24 |
25 $securePages = array( | |
26 "/fap2012/admin" => true, | |
27 "/fap2012/register" => true, | |
28 "/fap2012/vote" => false, | |
29 ); | |
30 | |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
31 |
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
32 $pageTitle = "Finnish Amiga Party 2022"; |
0 | 33 $pageCharset = "utf-8"; |
34 $pageCSS = "fap.css"; | |
35 | |
36 ?> |