summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-07-28 10:04:38 -0700
committerArun Persaud <arun@nubati.net>2007-07-28 10:04:38 -0700
commitb29ab3c07ebe1667e852457f22f6f51193970c1b (patch)
tree9cd98a598f715fd843dbc886b9e98265b865eeec /INSTALL
parent2d479ce92aaf3d20001637df61b957995f722419 (diff)
downloade-DoKo-b29ab3c07ebe1667e852457f22f6f51193970c1b.tar.gz
e-DoKo-b29ab3c07ebe1667e852457f22f6f51193970c1b.tar.bz2
e-DoKo-b29ab3c07ebe1667e852457f22f6f51193970c1b.zip
CLEANUP: working on database now a config.php option
moved error checking into a function and made working on the database a config.php option
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL46
1 files changed, 27 insertions, 19 deletions
diff --git a/INSTALL b/INSTALL
index 8cdf132..bed28d5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -3,40 +3,48 @@ Installation
0) get files
-get all files from
+ get all files from
-http://svn.nubati.net/emaildoko/trunk
+ http://nubati.net/git/e-DoKo
1) create database
-create a mysql database using the provided file
+ create a mysql database using the provided file
-mysql < create_database.sql
+ mysql < create_database.sql
-use user, password, database and host option of mysql as needed
+ use user, password, database and host option of mysql as needed
2) create a config.php file that defines the following variables:
-$host : for example "http://localhost/index.php", note: include the index.php here
+ $host: for example "http://localhost/index.php", note: include the index.php here
-database info:
+ database info:
-$DB_host
-$DB_user
-$DB_password
-$DB_database
+ $DB_host
+ $DB_user
+ $DB_password
+ $DB_database
-you can also turn the debug mode on by defining:
-$debug=1;
+ working on the database:
+ in case you need to work on the database for some reason, you can suspend the game
+ by setting $DB_work to 1
-this will give some extra output and won't send out emails, but display them in the browser
+ debug mode:
+ you can also turn the debug mode on by defining:
+ $debug=1;
-If you hvae problem with the timezone, that is an older PHP version, try adding this in config.php
+ this will give some extra output and won't send out emails, but
+ display them in the browser
-function date_default_timezone_set($zone)
-{
- return;
-}
+ timezone problem:
+ If you hvae problem with the timezone, that is an older PHP version,
+ try adding this in config.php
+
+ function date_default_timezone_set($zone)
+ {
+ return;
+ }
3) log in and enjoy ;)