updated link to wiki and bugzilla
[e-DoKo.git] / config.php_template
index 29212ca0561b7598950530352d05a78afffb21cb..2e81c50db58b149654186ff65ba55fa86916a85c 100644 (file)
@@ -1,4 +1,22 @@
 <?php
+/* Copyright 2006, 2007, 2008, 2009, 2010 Arun Persaud <arun@nubati.net>
+ *
+ *   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 <http://www.gnu.org/licenses/>.
+ *
+ */
 
     /* the program needs this to access the mysql database */
     $DB_host    = "";
     /* 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