blob: bed28d57d550e1d9699da6596c206ba39516bff3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
Installation
------------
0) get files
get all files from
http://nubati.net/git/e-DoKo
1) create database
create a mysql database using the provided file
mysql < create_database.sql
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
database info:
$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
by setting $DB_work to 1
debug mode:
you can also turn the debug mode on by defining:
$debug=1;
this will give some extra output and won't send out emails, but
display them in the browser
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 ;)
Arun
|