Changeset 142 for minimanager/scripts/config.sample.php
- Timestamp:
- Nov 23, 2007, 11:29:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/scripts/config.sample.php
r73 r142 9 9 * Email: ***** 10 10 * License: GNU General Public License v2(GPL) 11 * 12 * Updated by Shnappie to work with 3 databases 13 * instead of 2 supported by version of Q.SA 11 14 */ 12 15 13 $version = "0.1. 4a";16 $version = "0.1.5b"; 14 17 15 18 //---- SQL Configuration ---- 16 19 17 20 /* SQL server type : 18 * "MySQL" - Mysql 21 * "MySQL" - Mysql 19 22 * "PgSQL" - PostgreSQL 20 23 * "MySQLi" - MySQLi 21 24 * "SQLLite" - SQLLite 22 25 */ 23 $db_type = "MySQL"; 26 $db_type = "MySQL"; 24 27 25 28 $realm_db = Array( 26 29 'addr' => "127.0.0.1:3306", //SQL server IP:port this realmd located on 27 'user' => " root", //SQL server login this realmd located on28 'pass' => " pass", //SQL server pass this realmd located on30 'user' => "mangos", //SQL server login this realmd located on 31 'pass' => "mangos", //SQL server pass this realmd located on 29 32 'name' => "realmd", //realmd DB name 30 33 'encoding' => "utf8" //SQL connection encoding 31 34 ); 32 33 35 $mangos_db = Array( 34 36 1 => array( //position in array must represent realmd ID 35 37 'id' => 1, //Realm ID 36 38 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 37 'user' => " root", //SQL server login this DB located on38 'pass' => " pass", //SQL server pass this DB located on39 'user' => "mangos", //SQL server login this DB located on 40 'pass' => "mangos", //SQL server pass this DB located on 39 41 'name' => "mangos", //World Database name 40 42 'encoding' => "utf8", //SQL connection encoding 41 'db_rev' => " SDB rev.24" //db rev. used43 'db_rev' => "UDB rev.0.8.2 rc 327" //db rev. used 42 44 ), 45 ); 46 47 $characters_db = Array( 48 1 => array( //position in array must represent realmd ID 49 'id' => 1, //Realm ID 50 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 51 'user' => "mangos", //SQL server login this DB located on 52 'pass' => "mangos", //SQL server pass this DB located on 53 'name' => "characters", //Character Database name 54 'encoding' => "utf8", //SQL connection encoding 55 ), //NOTE: THIS USER MUST HAVE AT LEAST READ ACCESS ON THE WORLD DATABASE 43 56 ); 44 57 … … 46 59 $server = Array( //if more than one realm used, even if they are on same system new subarray MUST be added. 47 60 1 => array( //position in array must represent realmd ID, same as in $mangos_db 48 'addr' => " 127.0.0.1", //Game Server IP - Must be external address61 'addr' => "wow.zdechov.net", //Game Server IP - Must be external address 49 62 'game_port' => 8085, //Game Server port 50 63 'term_type' => "SSH", //Terminal type - ("SSH"/"Telnet") 51 64 'term_port' => 22, //Terminal port 52 'rev' => "rev.4 285", //Mangos rev. used53 'both_factions' => false //Allow to see opponent faction characters. Affects only players.65 'rev' => "rev.4752 SD166", //Mangos rev. used 66 'both_factions' => true //Allow to see opponent faction characters. Affects only players. 54 67 ), 55 68 ); 56 57 69 $sql_search_limit = 100; //limit number of maximum search results 58 70 59 71 //---- Mail configuration ---- 60 $admin_mail = " root@admin.com"; //mail used for bug reports and other user contact72 $admin_mail = "wow@zdechov.net"; //mail used for bug reports and other user contact 61 73 62 74 $mailer_type = "smtp"; // type of mailer to be used("mail", "sendmail", "smtp") 63 $from_mail = " mail@mail.com"; //all emails will be sent from this email75 $from_mail = "wow@zdechov.net"; //all emails will be sent from this email 64 76 //smtp server config 65 77 $smtp_cfg = array( … … 72 84 //---- New account creation Options ---- 73 85 if($AllowedRegistrationCountPerDay == 0) $disable_acc_creation = true; //true = Do not allow new accounts to be created 74 else $disable_acc_creation = false; 75 //$MaximumAccountCount = 10000; // Total account count limitation 76 86 else $disable_acc_creation = false; 77 87 $send_mail_on_creation = false; //true = send mail at account creation. 78 88 $create_acc_locked = 0; //if set to '1' newly created accounts will be made locked to 0.0.0.0 IP disallowing user to login. … … 87 97 88 98 //---- Layout configuration ---- 89 $title = " MiniManager for MaNgOs srv.";99 $title = "WoW server Heroes of Fantasy"; 90 100 $itemperpage = 25; 91 101 92 102 $css_template = "Sulfur"; //file/folder name of css tamplate to use from templates directory by default 93 $language = " enUS"; //default site language94 $site_encoding = "iso-8859- 1"; //default encoding103 $language = "csCZ"; //default site language 104 $site_encoding = "iso-8859-2"; //default encoding 95 105 96 106 //---- IRC Options ------ … … 98 108 'server' => "irc.quakenet.org", //irc server 99 109 'port' => 6667, //port 100 'channel' => " test" //channel110 'channel' => "#test" //channel 101 111 ); 102 112 103 113 //---- External Links ---- 104 114 $item_datasite = "http://www.wowhead.com/?item="; … … 123 133 //menu content by user level 124 134 $menu_array = Array( 125 3 => array("Admin" ,array( 126 array("index.php", 'main', array()), 127 array("user.php", 'users', array( 128 array("user.php", 'accounts'), 129 array("char_list.php", 'characters'), 130 array("guild.php", 'guilds'), 135 4 => array("SAdmin" ,array( 136 array("index.php", 'main', array()), 137 array("user.php", 'users', array( 138 array("user.php", 'accounts'), 139 array("char_list.php", 'characters'), 140 array("guild.php", 'guilds'), 141 array("arenateam.php", 'arena_teams'), 142 array("honor.php", 'honor'), 131 143 array("banned.php", 'banned_list'), 132 144 array("cleanup.php", 'cleanup'), … … 144 156 array("mail.php", 'mail'), 145 157 array("irc.php", 'irc'), 158 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 146 159 ), 147 160 ), … … 158 171 ) 159 172 ), 173 3 => array("Admin" ,array( 174 array("index.php", 'main', array()), 175 array("user.php", 'users', array( 176 array("user.php", 'accounts'), 177 array("char_list.php", 'characters'), 178 array("guild.php", 'guilds'), 179 array("arenateam.php", 'arena_teams'), 180 array("honor.php", 'honor'), 181 array("banned.php", 'banned_list'), 182 array("cleanup.php", 'cleanup'), 183 array("stat.php", 'statistics'), 184 array("javascript:void(0);\" onclick=\"window.open('./pomm/pomm.php', 'pomm', 'Toolbar=0, Location=0, Directories=0, Status=0, Menubar=0, Scrollbar=0, Resizable=0, Copyhistory=1, Width=784, Height=525')", 'player_map'), 185 ), 186 ), 187 array("#", 'tools', array( 188 array("ssh.php", 'ssh_line'), 189 array("run_patch.php", 'run_sql_patch'), 190 array("ticket.php", 'tickets'), 191 array("ahstats.php", 'auctionhouse'), 192 array("realm.php", 'realm'), 193 array("motd.php", 'add_motd'), 194 array("mail.php", 'mail'), 195 array("irc.php", 'irc'), 196 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 197 ), 198 ), 199 array("#", 'db', array( 200 array("item.php", 'items'), 201 array("creature.php", 'creatures'), 202 array("game_object.php", 'game_object'), 203 array("tele.php", 'teleports'), 204 array("command.php", 'command'), 205 array("backup.php", 'backup'), 206 array("repair.php", 'repair'), 207 ), 208 ), 209 ) 210 ), 160 211 2 => array("GameMaster" ,array( 161 212 array("index.php", 'main', array()), … … 164 215 array("char_list.php", 'characters'), 165 216 array("guild.php", 'guilds'), 217 array("arenateam.php", 'arena_teams'), 218 array("honor.php", 'honor'), 166 219 array("banned.php", 'banned_list'), 167 220 array("stat.php", 'statistics'), … … 175 228 array("mail.php", 'mail'), 176 229 array("irc.php", 'irc'), 230 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 177 231 ), 178 232 ), … … 193 247 array("char_list.php", 'characters'), 194 248 array("guild.php", 'guilds'), 195 array("banned.php", 'banned_list'), 196 array("stat.php", 'statistics'), 197 array("javascript:void(0);\" onclick=\"window.open('./pomm/pomm.php', 'pomm', 'Toolbar=0, Location=0, Directories=0, Status=0, Menubar=0, Scrollbar=0, Resizable=0, Copyhistory=1, Width=784, Height=525')", 'player_map'), 198 ), 199 ), 200 array("#", 'tools', array( 201 array("ticket.php", 'tickets'), 202 array("ahstats.php", 'auctionhouse'), 203 array("motd.php", 'add_motd'), 204 array("mail.php", 'mail'), 205 array("irc.php", 'irc'), 206 ), 249 array("arenateam.php", 'arena_teams'), 250 array("honor.php", 'honor'), 251 array("banned.php", 'banned_list'), 252 array("stat.php", 'statistics'), 253 array("javascript:void(0);\" onclick=\"window.open('./pomm/pomm.php', 'pomm', 'Toolbar=0, Location=0, Directories=0, Status=0, Menubar=0, Scrollbar=0, Resizable=0, Copyhistory=1, Width=784, Height=525')", 'player_map'), 254 ), 255 ), 256 array("#", 'tools', array( 257 array("ticket.php", 'tickets'), 258 array("ahstats.php", 'auctionhouse'), 259 array("motd.php", 'add_motd'), 260 // array("mail.php", 'mail'), 261 array("irc.php", 'irc'), 262 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 263 ), 207 264 ), 208 265 array("#", 'db', array( … … 219 276 array("index.php", 'main', array()), 220 277 array("user.php", 'users', array( 221 array("javascript:void(0);\" onclick=\"window.open('./pomm/pomm.php', 'pomm', 'Toolbar=0, Location=0, Directories=0, Status=0, Menubar=0, Scrollbar=0, Resizable=0, Copyhistory=1, Width=784, Height=525')", 'player_map'), 222 array("ahstats.php", 'auctionhouse'), 223 ), 224 ), 225 array("#", 'tools', array( 226 array("irc.php", 'irc'), 227 array("command.php", 'command'), 278 array("arenateam.php", 'arena_teams'), 279 array("honor.php", 'honor'), 280 array("javascript:void(0);\" onclick=\"window.open('./pomm/pomm.php', 'pomm', 'Toolbar=0, Location=0, Directories=0, Status=0, Menubar=0, Scrollbar=0, Resizable=0, Copyhistory=1, Width=784, Height=525')", 'player_map'), 281 array("ahstats.php", 'auctionhouse'), 282 ), 283 ), 284 array("#", 'tools', array( 285 array("irc.php", 'irc'), 286 array("command.php", 'command'), 287 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 228 288 ), 229 289 ),
Note:
See TracChangeset
for help on using the changeset viewer.