summaryrefslogtreecommitdiffstats
path: root/config.php_template
blob: 93e951cf68f9dc491a55c5808f4420d5127590d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php

    /* the program needs this to access the mysql database */
    $DB_host	 = "";
    $DB_user	 = "";
    $DB_password = "";
    $DB_database = "";

    /* set this to 1 to debug the server
     * emails won't be send out, but  be shown on the page;
     * each player name at the table will be a link to get
     * to his view;
     */
    $debug = 0;

    /* set this to 1, if you want to work on the DB
     * the users won't be able to log in and get a message
     * to check back later
     */
    $DB_work = 0;

    $ADMIN_NAME = "";
    $ADMIN_EMAIL = "";

    /* the prefix for the subject of each email */
    $EmailName = "[DoKo]";
    /* used as the reply email in each email */
    $EMAIL_REPLY="";

    /* this should point to your index.file and to your domain.
     * The HOST variable is also used to test, if files are called
     * from within e-DoKo, so it needs to be set.
     */
    $INDEX = "/index.php";
    $HOST  = "http://www.example.com";

    /* point this to a Wiki that explains the rules, etc (or use this one)*/
    $WIKI  = "http://wiki.nubati.net/index.php?title=EmailDoko";

    /* the default timezone for you domain */
    $defaulttimezone = date_default_timezone_get();

    /* OpenId
     *
     * we use the php-openid library (tested with version 2.1.3)
     * E-DoKo needs to know where to find the file examples/consumer/common.php
     * that comes with the library. That file also needs to be modified the
     * function getReturnTo(), change:
     -    return sprintf("%s://%s:%s%s/finish_auth.php",
     +    return sprintf("%s://%s:%s%s/index.php?action=login",

    */

    /* Openidpath that points to the top php-openid directory */
    //$OPENIDPATH = "..fill in correct path here.../openid/php-openid-2.1.3/"
    // leave empty if not used.
    $OPENIDPATH = '';
?>