source: trunk/inc/config.sample.php@ 634

Last change on this file since 634 was 634, checked in by george, 16 years ago
  • Upraveno: Stránka s výpisem dotací osamostatněna a doplněna o stránkování.
  • Přidáno: Zobrazení ročních příjmů a nákladů na stránce financí.
File size: 2.9 KB
Line 
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 'RealmList' => array(
37 1 => array(
38 'Id' => 7,
39 'Name' => 'Realm 1'
40 'DatabaseHost' => 'localhost',
41 'DatabaseUser' => 'server1',
42 'DatabasePassword' => 'server1',
43 'DatabaseCharacters' => 'realm1_characters',
44 'DatabaseMangos' => 'realm1_mangos',
45 'DatabaseScriptDev2' => 'realm1_scriptdev2',
46 'Server' => 1,
47 'MaxOnlinePlayers' => 100,
48 'XPRate' => 1,
49 'Type' => 'Normalní',
50 'Description' => 'Hlavní realm',
51 ),
52 ),
53 ),
54 'Web' => array
55 (
56 'Charset' => 'utf-8',
57 'BaseURL' => 'http://localhost/',
58 'Description' => 'Neoficiální herní server hry World of Warcraft',
59 'Keywords' => 'wowserver, world of warcraft, free, wow, server, hof, heroes of fantasy, zdechov, mangos',
60 'WoWServerAddr' => 'localhost',
61 'Title' => 'WoW server',
62 'Admin' => 'Admin',
63 'AdminEmail' => 'admin@localhost',
64 'ShowError' => false,
65 'ErrorLogFile' => 'php_script_error.log',
66 'ShowSQLError' => false,
67 'ShowSQLQuery' => false,
68 'ShowPHPError' => false,
69 'ServerFounded' => '1.1.2000',
70 'BankAccount' => '670100-2202937132/6210',
71 'TableRowPerPage' => 20,
72 'ServerList' => array(
73 1 => array(
74 'OS' => 'GNU/Linux',
75 'CPU' => 'AMD Athlon 64 X2 5600+, 2,8 GHz',
76 'Memory' => '8 GB DDR2 800 MHz dual channel',
77 'HDD' => 'WD Green 1 TB, 32 MB cache',
78 'Address' => 'localhost',
79 'Internet' => '16/16 Mbit/s, agregace 1:32',
80 'Statistic' => 'http://localhost/stat/',
81 },
82 },
83 ),
84 'CheckRegistration' => array
85 (
86 'Host' => 'localhost',
87 'User' => '',
88 'Password' => '',
89 'Database' => '',
90 'Prefix' => '',
91 'Charset' => 'utf8',
92 ),
93);
94
95// Zpětná kompatibilita
96$db_server = $Config['Database']['Host'];
97$db_user = $Config['Database']['User'];
98$db_pass = $Config['Database']['Password'];
99
100$db_mangos = $Config['Mangos']['DatabaseMangos'];
101$db_realmd = $Config['Mangos']['DatabaseRealmd'];
102$db_characters = $Config['Mangos']['DatabaseCharacters'];
103$db_ghsystem = $Config['Database']['Database'];
104$db_webu = $Config['Database']['Database'];
105
106?>
Note: See TracBrowser for help on using the repository browser.