blob: 372b6b60ccf0037948c1468080d74916108569f8 (
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
58
59
60
61
62
63
64
|
Installation
------------
-1) What you need
all you need is PHP(>=5.3.7) and MYSQL. PHP has to include gettext support.
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: the absolute web path to your index.php file e.g. "/mypath/index.php"
$STATS: the absolute web path to your stats.php file e.g. "/mypath/stast.php"
$RSSS: the absolute web path to your rss.php file e.g. "/mypath/rss.php"
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) install .htaccess: copy htaccess.template to .htaccess and edit it to set RewriteBase.
If your site is at http://example.org/~test/edoko you need to set
RewriteBase to /~test/edoko
4) Log in and enjoy ;)
Arun
|