2 /* Copyright 2006, 2007, 2008, 2009, 2010 Arun Persaud <arun@nubati.net>
4 * This file is part of e-DoKo.
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.
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.
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/>.
21 /* the program needs this to access the mysql database */
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
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
43 /* the prefix for the subject of each email */
44 $EmailName = "[DoKo]";
45 /* used as the reply email in each email */
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.
52 $INDEX = "/index.php";
53 $HOST = "http://www.example.com";
54 $STATS = "/stats.php";
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";
60 /* the default timezone for you domain */
61 $defaulttimezone = date_default_timezone_get();
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",
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.