From b29ab3c07ebe1667e852457f22f6f51193970c1b Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 28 Jul 2007 10:04:38 -0700 Subject: 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 --- INSTALL | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) (limited to 'INSTALL') 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 ;) -- cgit v1.2.3-18-g5258