Merge branch 'master' of /home/arun/nubati.net/git/e-DoKo
[e-DoKo.git] / config.php_template
1 <?php
2
3     /* the program needs this to access the mysql database */
4     $DB_host     = "";
5     $DB_user     = "";
6     $DB_password = "";
7     $DB_database = "";
8
9     /* set this to 1 to debug the server
10      * emails won't be send out, but  be shown on the page;
11      * each player name at the table will be a link to get
12      * to his view;
13      */
14     $debug = 0;
15
16     /* set this to 1, if you want to work on the DB
17      * the users won't be able to log in and get a message
18      * to check back later
19      */
20     $DB_work = 0;
21
22     $ADMIN_NAME = "";
23     $ADMIN_EMAIL = "";
24
25     /* the prefix for the subject of each email */
26     $EmailName = "[DoKo]";
27     /* used as the reply email in each email */
28     $EMAIL_REPLY="";
29
30     /* this should point to your index.file and to your domain.
31      * The HOST variable is also used to test, if files are called
32      * from within e-DoKo, so it needs to be set.
33      */
34     $INDEX = "/index.php";
35     $HOST  = "http://www.example.com";
36     $STATS = "/stats.php";
37     $RSS   = "/rss.php";
38
39     /* point this to a Wiki that explains the rules, etc (or use this one)*/
40     $WIKI  = "http://wiki.nubati.net/index.php?title=EmailDoko";
41
42     /* the default timezone for you domain */
43     $defaulttimezone = date_default_timezone_get();
44
45     /* OpenId
46      *
47      * we use the php-openid library (tested with version 2.1.3)
48      * E-DoKo needs to know where to find the file examples/consumer/common.php
49      * that comes with the library. That file also needs to be modified the
50      * function getReturnTo(), change:
51      -    return sprintf("%s://%s:%s%s/finish_auth.php",
52      +    return sprintf("%s://%s:%s%s/index.php?action=login",
53
54     */
55
56     /* Openidpath that points to the top php-openid directory */
57     //$OPENIDPATH = "..fill in correct path here.../openid/php-openid-2.1.3/"
58     // leave empty if not used.
59     $OPENIDPATH = '';
60 ?>