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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
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
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
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
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
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
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
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
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 );
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
51
7bdf89601ba0 Work on session stuff.
Matti Hamalainen <ccr@tnsp.org>
parents: 35
diff changeset
21 date_default_timezone_set("Europe/Helsinki");
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 $securePages = array(
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 "/fap2012/admin" => true,
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 "/fap2012/register" => true,
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 "/fap2012/vote" => false,
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 );
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
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
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 $pageCharset = "utf-8";
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32 $pageCSS = "fap.css";
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 ?>