blob: a30d26ca05255a33ebde3ab0641d5515fc0c829b (
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
53
54
55
56
57
|
Installation
------------
-1) What you need
all you need is PHP and MYSQL
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) 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
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
|