X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=config.php_template;h=319648ec879071ffd039178340df2268e3e49bda;hp=29212ca0561b7598950530352d05a78afffb21cb;hb=HEAD;hpb=a35c7c7be53220ddeea8442396be0b4299589088 diff --git a/config.php_template b/config.php_template index 29212ca..319648e 100644 --- a/config.php_template +++ b/config.php_template @@ -1,4 +1,22 @@ + * + * This file is part of e-DoKo. + * + * e-DoKo is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * e-DoKo is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with e-DoKo. If not, see . + * + */ /* the program needs this to access the mysql database */ $DB_host = ""; @@ -27,13 +45,34 @@ /* used as the reply email in each email */ $EMAIL_REPLY=""; - /* this should point to your index.file and to your domain*/ + /* 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"; + $STATS = "/stats.php"; + $RSS = "/rss.php"; /* 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 = ''; ?> \ No newline at end of file