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=fb84a51d04270b41e331b01cb021036d9a710bd2;hb=4afb2915193523f99f360e27477afefcb19ed079;hpb=19f70fcd8c26c4a6279addcf8c29fba8f21e13da diff --git a/config.php_template b/config.php_template index fb84a51..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,6 +45,34 @@ /* used as the reply email in each email */ $EMAIL_REPLY=""; - /* this should point to your index.file */ - $host = "http://.../index.php" + /* 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