diff options
author | Arun Persaud <arun@nubati.net> | 2007-11-02 19:59:41 +0100 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2007-11-02 19:59:41 +0100 |
commit | 19f70fcd8c26c4a6279addcf8c29fba8f21e13da (patch) | |
tree | 54fd29b5fc32d9db3fb04be8eb1de11a0ebdfbc9 | |
parent | 7f17a1954f153ecdfecd524d3f7c921b3b0bd08a (diff) | |
download | e-DoKo-19f70fcd8c26c4a6279addcf8c29fba8f21e13da.tar.gz e-DoKo-19f70fcd8c26c4a6279addcf8c29fba8f21e13da.tar.bz2 e-DoKo-19f70fcd8c26c4a6279addcf8c29fba8f21e13da.zip |
BUGFIX: added a config.php template to the repository and updated the INSTALL files
-rw-r--r-- | INSTALL | 25 | ||||
-rw-r--r-- | config.php_template | 32 |
2 files changed, 47 insertions, 10 deletions
@@ -1,13 +1,17 @@ + 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 @@ -15,16 +19,18 @@ Installation 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 @@ -46,7 +52,6 @@ Installation return; } - -3) log in and enjoy ;) +3) Log in and enjoy ;) Arun diff --git a/config.php_template b/config.php_template new file mode 100644 index 0000000..fb84a51 --- /dev/null +++ b/config.php_template @@ -0,0 +1,32 @@ +<?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 |