TRANSLATION: fixed some small issues
[e-DoKo.git] / config.php_template
1 <?php
2 /* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arun Persaud <arun@nubati.net>
3  *
4  *   This file is part of e-DoKo.
5  *
6  *   e-DoKo is free software: you can redistribute it and/or modify
7  *   it under the terms of the GNU General Public License as published by
8  *   the Free Software Foundation, either version 3 of the License, or
9  *   (at your option) any later version.
10  *
11  *   e-DoKo is distributed in the hope that it will be useful,
12  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *   GNU General Public License for more details.
15  *
16  *   You should have received a copy of the GNU General Public License
17  *   along with e-DoKo.  If not, see <http://www.gnu.org/licenses/>.
18  *
19  */
20
21     /* the program needs this to access the mysql database */
22     $DB_host     = "";
23     $DB_user     = "";
24     $DB_password = "";
25     $DB_database = "";
26
27     /* set this to 1 to debug the server
28      * emails won't be send out, but  be shown on the page;
29      * each player name at the table will be a link to get
30      * to his view;
31      */
32     $debug = 0;
33
34     /* set this to 1, if you want to work on the DB
35      * the users won't be able to log in and get a message
36      * to check back later
37      */
38     $DB_work = 0;
39
40     $ADMIN_NAME = "";
41     $ADMIN_EMAIL = "";
42
43     /* the prefix for the subject of each email */
44     $EmailName = "[DoKo]";
45     /* used as the reply email in each email */
46     $EMAIL_REPLY="";
47
48     /* this should point to your index.file and to your domain.
49      * The HOST variable is also used to test, if files are called
50      * from within e-DoKo, so it needs to be set.
51      */
52     $INDEX = "/index.php";
53     $HOST  = "http://www.example.com";
54     $STATS = "/stats.php";
55     $RSS   = "/rss.php";
56
57     /* point this to a Wiki that explains the rules, etc (or use this one)*/
58     $WIKI  = "http://wiki.nubati.net/index.php?title=EmailDoko";
59
60     /* the default timezone for you domain */
61     $defaulttimezone = date_default_timezone_get();
62
63     /* OpenId
64      *
65      * we use the php-openid library (tested with version 2.1.3)
66      * E-DoKo needs to know where to find the file examples/consumer/common.php
67      * that comes with the library. That file also needs to be modified the
68      * function getReturnTo(), change:
69      -    return sprintf("%s://%s:%s%s/finish_auth.php",
70      +    return sprintf("%s://%s:%s%s/index.php?action=login",
71
72     */
73
74     /* Openidpath that points to the top php-openid directory */
75     //$OPENIDPATH = "..fill in correct path here.../openid/php-openid-2.1.3/"
76     // leave empty if not used.
77     $OPENIDPATH = '';
78 ?>