1 | <?php
|
---|
2 |
|
---|
3 | $Config = array
|
---|
4 | (
|
---|
5 | 'Database' => array
|
---|
6 | (
|
---|
7 | 'Host' => 'localhost',
|
---|
8 | 'User' => '',
|
---|
9 | 'Password' => '',
|
---|
10 | 'Database' => '',
|
---|
11 | 'Prefix' => '',
|
---|
12 | 'Charset' => 'utf8',
|
---|
13 | ),
|
---|
14 | 'Mangos' => array
|
---|
15 | (
|
---|
16 | 'Version' => '0.8 beta SVN',
|
---|
17 | 'Revision' => '4203',
|
---|
18 | 'UDBVersion' => '0.7',
|
---|
19 | 'UDBRevision' => '204',
|
---|
20 | 'ScriptDev2Revision' => '137',
|
---|
21 | 'ClientVersion' => '3.1.3',
|
---|
22 | 'DatabaseHost' => 'localhost',
|
---|
23 | 'DatabaseUser' => 'server1',
|
---|
24 | 'DatabasePassword' => 'server1',
|
---|
25 | 'DatabaseRealmd' => 'realmd',
|
---|
26 | 'RequiredOnlinePlayers' => 70,
|
---|
27 | 'GMCommandsLog' => 'gm_commands.log',
|
---|
28 | 'CharacterDataOffset' => array
|
---|
29 | (
|
---|
30 | 'Exp' => 1010,
|
---|
31 | 'Level' => 53,
|
---|
32 | 'Gender' => 22,
|
---|
33 | 'HonorPoints' => 1648,
|
---|
34 | 'ArenaPoints' => 1649,
|
---|
35 | ),
|
---|
36 | ),
|
---|
37 | 'Web' => array
|
---|
38 | (
|
---|
39 | 'Charset' => 'utf-8',
|
---|
40 | 'Host' => 'george-virt.zdechov.net',
|
---|
41 | 'Description' => 'Neoficiální herní server hry World of Warcraft',
|
---|
42 | 'Keywords' => 'wowserver, world of warcraft, free, wow, server, hof, heroes of fantasy, zdechov, mangos',
|
---|
43 | 'WoWServerAddr' => 'localhost',
|
---|
44 | 'Title' => 'WoW server',
|
---|
45 | 'Admin' => 'Admin',
|
---|
46 | 'AdminEmail' => 'admin@localhost',
|
---|
47 | 'ShowError' => false,
|
---|
48 | 'ErrorLogFile' => 'php_script_error.log',
|
---|
49 | 'ShowSQLError' => false,
|
---|
50 | 'ShowSQLQuery' => false,
|
---|
51 | 'ShowPHPError' => false,
|
---|
52 | 'ServerFounded' => '1.1.2000',
|
---|
53 | 'BankAccount' => '670100-2202937132/6210',
|
---|
54 | 'TableRowPerPage' => 20,
|
---|
55 | 'DefaultRealmIndex' => 1,
|
---|
56 | ),
|
---|
57 | 'CheckRegistration' => array
|
---|
58 | (
|
---|
59 | 'Host' => 'localhost',
|
---|
60 | 'User' => '',
|
---|
61 | 'Password' => '',
|
---|
62 | 'Database' => '',
|
---|
63 | 'Prefix' => '',
|
---|
64 | 'Charset' => 'utf8',
|
---|
65 | ),
|
---|
66 | );
|
---|
67 |
|
---|
68 | // Zastaralé, pro zpětnou kompatibilitu
|
---|
69 | $db_server = $Config['Database']['Host'];
|
---|
70 | $db_user = $Config['Database']['User'];
|
---|
71 | $db_pass = $Config['Database']['Password'];
|
---|
72 |
|
---|
73 | $db_mangos = $Config['Mangos']['DatabaseMangos'];
|
---|
74 | $db_realmd = $Config['Mangos']['DatabaseRealmd'];
|
---|
75 | $db_characters = $Config['Mangos']['DatabaseCharacters'];
|
---|
76 | $db_ghsystem = $Config['Database']['Database'];
|
---|
77 | $db_webu = $Config['Database']['Database'];
|
---|
78 |
|
---|
79 | ?>
|
---|