Changeset 374 for minimanager/scripts/config.sample.php
- Timestamp:
- Sep 11, 2008, 9:10:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/scripts/config.sample.php
r368 r374 12 12 */ 13 13 14 $version = "0.1 .6g";14 $version = "0.12"; 15 15 16 16 //---- SQL Configuration ---- … … 24 24 $db_type = "MySQL"; 25 25 26 $mmfpm_db = Array( 27 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 28 'user' => "root", //SQL server login this DB located on 29 'pass' => "", //SQL server pass this DB located on 30 'name' => "mmfpm", //realmd DB name 31 'encoding' => "utf8" //SQL connection encoding 32 ); 33 26 34 $realm_db = Array( 27 35 'addr' => "127.0.0.1:3306", //SQL server IP:port this realmd located on 28 36 'user' => "root", //SQL server login this realmd located on 29 'pass' => " pass", //SQL server pass this realmd located on37 'pass' => "", //SQL server pass this realmd located on 30 38 'name' => "realmd", //realmd DB name 31 39 'encoding' => "utf8" //SQL connection encoding 32 40 ); 41 33 42 $mangos_db = Array( 34 43 1 => array( //position in array must represent realmd ID … … 36 45 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 37 46 'user' => "root", //SQL server login this DB located on 38 'pass' => " pass", //SQL server pass this DB located on47 'pass' => "", //SQL server pass this DB located on 39 48 'name' => "mangos", //World Database name 40 49 'encoding' => "utf8" //SQL connection encoding … … 47 56 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 48 57 'user' => "root", //SQL server login this DB located on 49 'pass' => " pass", //SQL server pass this DB located on58 'pass' => "", //SQL server pass this DB located on 50 59 'name' => "characters", //Character Database name 51 60 'encoding' => "utf8", //SQL connection encoding … … 60 69 'term_type' => "SSH", //Terminal type - ("SSH"/"Telnet") 61 70 'term_port' => 22, //Terminal port 62 'rev' => "rev. 5297 SD269", //Mangos rev. used71 'rev' => "rev. 6360", //Mangos rev. used 63 72 'both_factions' => true //Allow to see opponent faction characters. Affects only players. 64 73 ), … … 81 90 //---- New account creation Options ---- 82 91 $disable_acc_creation = false; //true = Do not allow new accounts to be created 92 $expansion_select = false; //true = Shows option to select expansion or classic False = no option(TBC) enabled by default 93 $defaultoption = 1; //if the above is false then set what the default option will be (1 = TBC, 0 = Classic) 94 $enable_captcha = true; //false = no security image check (enable for protection against 'bot' registrations) 83 95 $send_mail_on_creation = false; //true = send mail at account creation. 84 96 $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. … … 97 109 98 110 $css_template = "Sulfur"; //file/folder name of css tamplate to use from templates directory by default 99 $language = "enUS"; //default site language 100 $site_encoding = "iso-8859-1"; //default encoding 111 $language = "english"; //default site language 112 $tt_lang = "www"; //wowhead tooltip language.....choices are 'fr', 'de', 'es' (for 'en' use www) 113 $timezone = "UTC"; //default timezone (use your local timezone code) 101 114 102 115 //---- IRC Options ------ 103 116 $irc_cfg = array( 104 'server' => " irc.quakenet.org", //irc server117 'server' => "mangos.cjb.net", //irc server 105 118 'port' => 6667, //port 106 'channel' => " test" //channel119 'channel' => "minimanager" //channel 107 120 ); 108 121 109 122 //---- External Links ---- 110 $item_datasite = "http:// www.wowhead.com/?item=";111 $quest_datasite = "http:// www.wowhead.com/?quest=";112 $creature_datasite = "http:// www.wowhead.com/?npc=";113 $spell_datasite = "http:// www.wowhead.com/?spell=";114 $skill_datasite = "http:// www.wowhead.com/?spells=";115 $talent_datasite = "http:// wowhead.com/?spell=";123 $item_datasite = "http://$tt_lang.wowhead.com/?item="; 124 $quest_datasite = "http://$tt_lang.wowhead.com/?quest="; 125 $creature_datasite = "http://$tt_lang.wowhead.com/?npc="; 126 $spell_datasite = "http://$tt_lang.wowhead.com/?spell="; 127 $skill_datasite = "http://$tt_lang.wowhead.com/?spells="; 128 $talent_datasite = "http://$tt_lang.wowhead.com/?spell="; 116 129 $talent_calculator_datasite = "http://www.worldofwarcraft.com/info/classes"; 117 $go_datasite = "http:// www.wowhead.com/?object=";130 $go_datasite = "http://$tt_lang.wowhead.com/?object="; 118 131 $get_icons_from_web = true; //wherever to get icons from the web in case they are missing in /img/INV dir. 119 132 … … 124 137 $proxy_cfg = Array( 125 138 'addr' => "", //configure only if requierd 126 'port' => 80 80,139 'port' => 80, 127 140 'user' => "", 128 141 'pass' => "" 129 142 ); 130 143 131 //menu content by user level 144 // ---- Module and Security settings ---- 145 // -- Meaning of the columns : TARGET, LANG_TEXT, ( READ/VIEW , UPDATE , INSERT , DELETE ) min Permission GM LEVEL 146 // -- Files excluded for this : Login.php, Pomm.php 147 // -- - Both files don't use header.php, so we can't include this method.. but its not a big deal 148 // 149 // -- Permmissions are set, but only READ Permission used right now... 150 // -- - Updates will follow 151 // -- 152 // -- If not set or lower, higher permission from lower rights overwrite higher permission ( Example : VIEW = 5, UDDATE = 0 >> UPDATE = 5) 153 132 154 $menu_array = Array( 133 5 => array("SysOP" ,array( 134 array("index.php", 'main', array()), 135 array("#", 'users', array( 136 array("user.php", 'accounts'), 137 array("char_list.php", 'characters'), 138 array("guild.php", 'guilds'), 139 array("arenateam.php", 'arena_teams'), 140 array("honor.php", 'honor'), 141 array("banned.php", 'banned_list'), 142 array("cleanup.php", 'cleanup'), 143 array("stat.php", 'statistics'), 144 array("stat_on.php", 'statistics_on'), 145 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'), 146 ), 147 ), 148 array("#", 'tools', array( 149 array("ssh.php", 'ssh_line'), 150 array("run_patch.php", 'run_sql_patch'), 151 array("ticket.php", 'tickets'), 152 array("ahstats.php", 'auctionhouse'), 153 array("events.php", 'events'), 154 array("realm.php", 'realm'), 155 array("motd.php", 'add_motd'), 156 array("mail.php", 'mail'), 157 array("irc.php", 'irc'), 158 array("instances.php", 'instances'), 159 ), 160 ), 161 array("#", 'db', array( 162 array("item.php", 'items'), 163 array("creature.php", 'creatures'), 164 array("game_object.php", 'game_object'), 165 array("tele.php", 'teleports'), 166 array("command.php", 'command'), 167 array("backup.php", 'backup'), 168 array("repair.php", 'repair'), 169 ), 170 ), 171 array("#", 'forums', array( 172 array("forum.php", 'forums'), 173 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 174 ), 175 ), 176 ) 177 ), 178 4 => array("Admin" ,array( 179 array("index.php", 'main', array()), 180 array("#", 'users', array( 181 array("user.php", 'accounts'), 182 array("char_list.php", 'characters'), 183 array("guild.php", 'guilds'), 184 array("arenateam.php", 'arena_teams'), 185 array("honor.php", 'honor'), 186 array("banned.php", 'banned_list'), 187 array("cleanup.php", 'cleanup'), 188 array("stat.php", 'statistics'), 189 array("stat_on.php", 'statistics_on'), 190 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'), 191 ), 192 ), 193 array("#", 'tools', array( 194 array("ssh.php", 'ssh_line'), 195 array("run_patch.php", 'run_sql_patch'), 196 array("ticket.php", 'tickets'), 197 array("ahstats.php", 'auctionhouse'), 198 array("events.php", 'events'), 199 array("realm.php", 'realm'), 200 array("motd.php", 'add_motd'), 201 array("mail.php", 'mail'), 202 array("irc.php", 'irc'), 203 array("instances.php", 'instances'), 204 ), 205 ), 206 array("#", 'db', array( 207 array("item.php", 'items'), 208 array("creature.php", 'creatures'), 209 array("game_object.php", 'game_object'), 210 array("tele.php", 'teleports'), 211 array("command.php", 'command'), 212 array("backup.php", 'backup'), 213 array("repair.php", 'repair'), 214 ), 215 ), 216 array("#", 'forums', array( 217 array("forum.php", 'forums'), 218 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 219 ), 220 ), 221 ) 222 ), 223 3 => array("BugTracker" ,array( 224 array("index.php", 'main', array()), 225 array("#", 'users', array( 226 array("user.php", 'accounts'), 227 array("char_list.php", 'characters'), 228 array("guild.php", 'guilds'), 229 array("arenateam.php", 'arena_teams'), 230 array("honor.php", 'honor'), 231 array("banned.php", 'banned_list'), 232 array("cleanup.php", 'cleanup'), 233 array("stat.php", 'statistics'), 234 array("stat_on.php", 'statistics_on'), 235 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'), 236 ), 237 ), 238 array("#", 'tools', array( 239 array("ssh.php", 'ssh_line'), 240 array("run_patch.php", 'run_sql_patch'), 241 array("ticket.php", 'tickets'), 242 array("ahstats.php", 'auctionhouse'), 243 array("events.php", 'events'), 244 array("realm.php", 'realm'), 245 array("motd.php", 'add_motd'), 246 array("mail.php", 'mail'), 247 array("irc.php", 'irc'), 248 array("instances.php", 'instances'), 249 ), 250 ), 251 array("#", 'db', array( 252 array("item.php", 'items'), 253 array("creature.php", 'creatures'), 254 array("game_object.php", 'game_object'), 255 array("tele.php", 'teleports'), 256 array("command.php", 'command'), 257 array("backup.php", 'backup'), 258 array("repair.php", 'repair'), 259 ), 260 ), 261 array("#", 'forums', array( 262 array("forum.php", 'forums'), 263 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 264 ), 265 ), 266 ) 267 ), 268 2 => array("GameMaster" ,array( 269 array("index.php", 'main', array()), 270 array("#", 'users', array( 271 array("user.php", 'accounts'), 272 array("char_list.php", 'characters'), 273 array("guild.php", 'guilds'), 274 array("arenateam.php", 'arena_teams'), 275 array("honor.php", 'honor'), 276 array("banned.php", 'banned_list'), 277 array("stat.php", 'statistics'), 278 array("stat_on.php", 'statistics_on'), 279 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'), 280 ), 281 ), 282 array("#", 'tools', array( 283 array("ticket.php", 'tickets'), 284 array("ahstats.php", 'auctionhouse'), 285 array("events.php", 'events'), 286 array("motd.php", 'add_motd'), 287 array("mail.php", 'mail'), 288 array("irc.php", 'irc'), 289 array("instances.php", 'instances'), 290 ), 291 ), 292 array("#", 'db', array( 293 array("item.php", 'items'), 294 array("creature.php", 'creatures'), 295 array("game_object.php", 'game_object'), 296 array("tele.php", 'teleports'), 297 array("command.php", 'command'), 298 ), 299 ), 300 array("#", 'forums', array( 301 array("forum.php", 'forums'), 302 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 303 ), 304 ), 305 ) 306 ), 307 1 => array("Moderator" ,array( 308 array("index.php", 'main', array()), 309 310 array("#", 'forums', array( 311 array("forum.php", 'forums'), 312 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 313 ), 314 ), 315 ) 316 ), 317 0 => array("Player" ,array( 318 array("index.php", 'main', array()), 319 array("#", 'users', array( 320 array("guild.php", 'guilds'), 321 array("arenateam.php", 'arena_teams'), 322 array("honor.php", 'honor'), 323 array("stat.php", 'statistics'), 324 array("stat_on.php", 'statistics_on'), 325 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'), 326 ), 327 ), 328 array("#", 'tools', array( 329 array("ahstats.php", 'auctionhouse'), 330 array("command.php", 'command'), 331 array("events.php", 'events'), 332 array("irc.php", 'irc'), 333 array("instances.php", 'instances'), 334 ), 335 ), 336 array("#", 'forums', array( 337 array("forum.php", 'forums'), 338 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 339 ), 340 ), 341 ) 342 ), 343 344 ); 345 155 array("index.php", 'main', array()), 156 array("#", 'users', array( 157 array("user.php", 'accounts',1,0,0,0), 158 array("char_list.php", 'characters',1,0,0,0), 159 array("guild.php", 'guilds',0,0,0,0), 160 array("arenateam.php", 'arena_teams',0,0,0,0), 161 array("honor.php", 'honor',0,0,0,0), 162 array("banned.php", 'banned_list',1,0,0,0), 163 array("cleanup.php", 'cleanup',3,0,0,0), 164 array("stat.php", 'statistics',0,0,0,0), 165 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',0,0,0,0), 166 ), 167 ), 168 array("#", 'tools', array( 169 array("ssh.php", 'ssh_line',3,0,0,0), 170 array("run_patch.php", 'run_sql_patch',3,0,0,0), 171 array("ticket.php", 'tickets',1,0,0,0), 172 array("ahstats.php", 'auctionhouse',0,0,0,0), 173 array("events.php", 'events',0,0,0,0), 174 array("realm.php", 'realm',3,0,0,0), 175 array("motd.php", 'add_motd',1,0,0,0), 176 array("mail.php", 'mail',3,0,0,0), 177 array("irc.php", 'irc',0,0,0,0), 178 array("instances.php", 'instances',0,0,0,0), 179 ), 180 ), 181 array("#", 'db', array( 182 array("item.php", 'items',1,0,0,0), 183 array("creature.php", 'creatures',1,0,0,0), 184 array("game_object.php", 'game_object',1,0,0,0), 185 array("tele.php", 'teleports',1,0,0,0), 186 array("command.php", 'command',0,0,0,0), 187 array("backup.php", 'backup',3,0,0,0), 188 array("repair.php", 'repair',3,0,0,0), 189 ), 190 ), 191 array("#", 'forums', array( 192 array("forum.php", 'forums',0,0,0,0), 193 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums',0,0,0,0), 194 ), 195 ), 196 array("#", 'invisible', array( 197 array("char.php", 'character',0,0,0,0), 198 array("char_edit.php", 'char_edit',1,0,0,0), 199 array("edit.php", 'MyAccount',0,0,0,0), 200 array("index.php, 'Startpage'",0,0,0,0), 201 ), 202 ), 203 ); 204 346 205 $debug = false; //set to true if full php debugging requierd. 347 206 ?>
Note:
See TracChangeset
for help on using the changeset viewer.