Mercurial > hg > fapweb
annotate mconfig.inc.php.example @ 290:3640f2311e1c
Fix wrong setting name in example configuration.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 25 Nov 2013 03:11:41 +0200 |
parents | a3f0f2a3551a |
children | 380cd0151890 |
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 |
290
3640f2311e1c
Fix wrong setting name in example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
19 "userTimeout" => 120, |
22
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( | |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
26 "/fap2013/admin" => true, |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
27 "/fap2013/register" => true, |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
28 "/fap2013/vote" => false, |
0 | 29 ); |
30 | |
22
f2877f1b0b75
Update configuration template.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
31 |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
32 $pageTitle = "Finnish Amiga Party 2013"; |
0 | 33 $pageCharset = "utf-8"; |
180
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
34 $pageCSS = array( |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
35 "main.css" => "", |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
36 "desktop.css" => "only screen and (min-width: 801px)", |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
37 "mobile.css" => "only screen and (max-width: 799px), only screen and (max-device-width: 799px)" |
a3f0f2a3551a
Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents:
179
diff
changeset
|
38 ); |
0 | 39 |
40 ?> |