+
Installation
------------
-0) get files
+-1) What you need
+ all you need is PHP and MYSQL
+
+0) Get files
- get all files from
+ get all files from
http://nubati.net/git/e-DoKo
-1) create database
+1) Create database
create a mysql database using the provided file
use user, password, database and host option of mysql as needed
-2) create a config.php file that defines the following variables:
+2) Configure
+
+ Copy config.php_template to config.php and edit it. These variables need to be set:
$host: for example "http://localhost/index.php", note: include the index.php here
database info:
- $DB_host
- $DB_user
- $DB_password
- $DB_database
+ $DB_host
+ $DB_user
+ $DB_password
+ $DB_database
working on the database:
in case you need to work on the database for some reason, you can suspend the game
return;
}
-
-3) log in and enjoy ;)
+3) Log in and enjoy ;)
Arun
--- /dev/null
+<?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 */
+ $host = "http://.../index.php"
+?>
\ No newline at end of file