Changeset 178 for minimanager/scripts/config.sample.php
- Timestamp:
- Dec 23, 2007, 2:55:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/scripts/config.sample.php
r142 r178 1 1 <?php 2 3 include('../registrace/reg_config.php');4 2 /* 5 3 * Project Name: MiniManager for Mangos Server … … 14 12 */ 15 13 16 $version = "0.1. 5b";14 $version = "0.1.6b"; 17 15 18 16 //---- SQL Configuration ---- … … 28 26 $realm_db = Array( 29 27 'addr' => "127.0.0.1:3306", //SQL server IP:port this realmd located on 30 'user' => " mangos", //SQL server login this realmd located on31 'pass' => " mangos", //SQL server pass this realmd located on28 'user' => "root", //SQL server login this realmd located on 29 'pass' => "pass", //SQL server pass this realmd located on 32 30 'name' => "realmd", //realmd DB name 33 31 'encoding' => "utf8" //SQL connection encoding … … 37 35 'id' => 1, //Realm ID 38 36 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 39 'user' => " mangos", //SQL server login this DB located on40 'pass' => " mangos", //SQL server pass this DB located on37 'user' => "root", //SQL server login this DB located on 38 'pass' => "pass", //SQL server pass this DB located on 41 39 'name' => "mangos", //World Database name 42 40 'encoding' => "utf8", //SQL connection encoding 43 'db_rev' => "UDB rev.0.8. 2 rc 327" //db rev. used41 'db_rev' => "UDB rev.0.8.1" //db rev. used 44 42 ), 45 43 ); … … 49 47 'id' => 1, //Realm ID 50 48 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 51 'user' => " mangos", //SQL server login this DB located on52 'pass' => " mangos", //SQL server pass this DB located on49 'user' => "root", //SQL server login this DB located on 50 'pass' => "pass", //SQL server pass this DB located on 53 51 'name' => "characters", //Character Database name 54 52 'encoding' => "utf8", //SQL connection encoding … … 59 57 $server = Array( //if more than one realm used, even if they are on same system new subarray MUST be added. 60 58 1 => array( //position in array must represent realmd ID, same as in $mangos_db 61 'addr' => " wow.zdechov.net", //Game Server IP - Must be external address59 'addr' => "127.0.0.1", //Game Server IP - Must be external address 62 60 'game_port' => 8085, //Game Server port 63 61 'term_type' => "SSH", //Terminal type - ("SSH"/"Telnet") 64 62 'term_port' => 22, //Terminal port 65 'rev' => "rev.4 752 SD166", //Mangos rev. used66 'both_factions' => true //Allow to see opponent faction characters. Affects only players. 63 'rev' => "rev.4846 SD152", //Mangos rev. used 64 'both_factions' => true //Allow to see opponent faction characters. Affects only players. 67 65 ), 68 66 ); … … 70 68 71 69 //---- Mail configuration ---- 72 $admin_mail = " wow@zdechov.net"; //mail used for bug reports and other user contact70 $admin_mail = "mail@mail.com"; //mail used for bug reports and other user contact 73 71 74 72 $mailer_type = "smtp"; // type of mailer to be used("mail", "sendmail", "smtp") 75 $from_mail = " wow@zdechov.net"; //all emails will be sent from this email73 $from_mail = "mail@mail.com"; //all emails will be sent from this email 76 74 //smtp server config 77 75 $smtp_cfg = array( … … 83 81 84 82 //---- New account creation Options ---- 85 if($AllowedRegistrationCountPerDay == 0) $disable_acc_creation = true; //true = Do not allow new accounts to be created 86 else $disable_acc_creation = false; 83 $disable_acc_creation = false; //true = Do not allow new accounts to be created 87 84 $send_mail_on_creation = false; //true = send mail at account creation. 88 85 $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 94 98 95 //---- Layout configuration ---- 99 $title = " WoW server Heroes of Fantasy";96 $title = "MiniManager for MaNgOs srv."; 100 97 $itemperpage = 25; 101 98 102 99 $css_template = "Sulfur"; //file/folder name of css tamplate to use from templates directory by default 103 $language = " csCZ"; //default site language104 $site_encoding = "iso-8859- 2"; //default encoding100 $language = "enUS"; //default site language 101 $site_encoding = "iso-8859-1"; //default encoding 105 102 106 103 //---- IRC Options ------ … … 133 130 //menu content by user level 134 131 $menu_array = Array( 135 4 => array("SAdmin" ,array(132 5 => array("SysOP" ,array( 136 133 array("index.php", 'main', array()), 137 134 array("user.php", 'users', array( … … 152 149 array("ticket.php", 'tickets'), 153 150 array("ahstats.php", 'auctionhouse'), 151 array("events.php", 'events'), 154 152 array("realm.php", 'realm'), 155 153 array("motd.php", 'add_motd'), … … 171 169 ) 172 170 ), 173 3=> array("Admin" ,array(171 4 => array("Admin" ,array( 174 172 array("index.php", 'main', array()), 175 173 array("user.php", 'users', array( … … 190 188 array("ticket.php", 'tickets'), 191 189 array("ahstats.php", 'auctionhouse'), 190 array("events.php", 'events'), 192 191 array("realm.php", 'realm'), 193 192 array("motd.php", 'add_motd'), … … 209 208 ) 210 209 ), 210 3 => array("BugTracker" ,array( 211 array("index.php", 'main', array()), 212 array("user.php", 'users', array( 213 array("user.php", 'accounts'), 214 array("char_list.php", 'characters'), 215 array("guild.php", 'guilds'), 216 array("arenateam.php", 'arena_teams'), 217 array("honor.php", 'honor'), 218 array("banned.php", 'banned_list'), 219 array("cleanup.php", 'cleanup'), 220 array("stat.php", 'statistics'), 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 ), 223 ), 224 array("#", 'tools', array( 225 array("ssh.php", 'ssh_line'), 226 array("run_patch.php", 'run_sql_patch'), 227 array("ticket.php", 'tickets'), 228 array("ahstats.php", 'auctionhouse'), 229 array("events.php", 'events'), 230 array("realm.php", 'realm'), 231 array("motd.php", 'add_motd'), 232 array("mail.php", 'mail'), 233 array("irc.php", 'irc'), 234 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 235 ), 236 ), 237 array("#", 'db', array( 238 array("item.php", 'items'), 239 array("creature.php", 'creatures'), 240 array("game_object.php", 'game_object'), 241 array("tele.php", 'teleports'), 242 array("command.php", 'command'), 243 array("backup.php", 'backup'), 244 array("repair.php", 'repair'), 245 ), 246 ), 247 ) 248 ), 211 249 2 => array("GameMaster" ,array( 212 250 array("index.php", 'main', array()), … … 225 263 array("ticket.php", 'tickets'), 226 264 array("ahstats.php", 'auctionhouse'), 265 array("events.php", 'events'), 227 266 array("motd.php", 'add_motd'), 228 267 array("mail.php", 'mail'), … … 257 296 array("ticket.php", 'tickets'), 258 297 array("ahstats.php", 'auctionhouse'), 298 array("events.php", 'events'), 259 299 array("motd.php", 'add_motd'), 260 300 // array("mail.php", 'mail'), … … 285 325 array("irc.php", 'irc'), 286 326 array("command.php", 'command'), 327 array("events.php", 'events'), 287 328 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 288 329 ), … … 293 334 ); 294 335 295 $debug = false; //set to true if full php debugging requierd.336 $debug = true; //set to true if full php debugging requierd. 296 337 ?>
Note:
See TracChangeset
for help on using the changeset viewer.