Guest User

Config.lua

a guest
Oct 2nd, 2017
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.48 KB | None | 0 0
  1. <?php
  2. /*These configs are neccessary in order to make Modern AAC work.*/
  3.  
  4. /*URL of website including http:// and without slash at the end! */
  5. $config['website'] = $config['website'] = 'http://'.$_SERVER['HTTP_HOST'] . '/'.trim(dirname($_SERVER['SCRIPT_NAME']), '/.\\');
  6.  
  7.  
  8. /*Database information*/
  9. $config['database']['host'] = "127.0.0.1";
  10. $config['database']['login'] = "root";
  11. $config['database']['password'] = "";
  12. $config['database']['database'] = "elielder";
  13.  
  14. /*Name of server*/
  15. $config['server_name'] = "Drangon Ball Universe";
  16.  
  17. // Sistema automatico Pagseguro by Pernilonguildo
  18. // Seu email cadastrado no pagseguro
  19. $config['pagseguro']['email'] = '[email protected]';
  20.  
  21. // Nome do Produto
  22. $config['pagseguro']['produtoNome'] = 'Premium points';
  23.  
  24. // Valor unitario do produto ou seja valor de cada ponto
  25. // Exemplo de valores
  26. // 100 = R$ 1,00
  27. // 235 = R$ 2,35
  28. // 4254 = R$ 42,54
  29. $config['pagseguro']['produtoValor'] = '100';
  30.  
  31. // Token gerado no painel do pagseguro
  32. $config['pagseguro']['token'] = '7CCC8CBC4DB34383B5A9790F5AD71E31';
  33. /*End of most important configs*/
  34.  
  35. /* Simple ticket system */
  36. $config['newsTickerLimit'] = 4;
  37. $config['newsTickerWords'] = 4;
  38.  
  39. /*List of cities, declare by using city ID and name eg. 2=>"Soul Server" etc.*/
  40. $config['cities'] = array(1 =>'Small City');
  41.  
  42. /*List of vocation available to choose when creating new character*/
  43. $config['vocations'] = array(1=>"Goku", 17=>"Vegeta", 32=>"Piccolo", 45=>"C17", 57=>"Gohan", 71=>"Trunks", 83=>"Cell", 95=>"Freeza", 111=>"Majin Boo", 127=>"Brolly", 140=>"C18", 152=>"Uub", 164=>"Goten", 178=>"Chibi Trunks", 192=>"Cooler", 206=>"Dende", 218=>"Tsuful", 230=>"Bardock", 244=>"Kuririn", 256=>"Pan", 268=>"Kaio", 280=>"Videl", 292=>"Janemba", 304=>"Tenshinhan", 316=>"Jenk", 328=>"Raditz", 340=>"C16", 352=>"Turles", 364=>"Bulma");
  44.  
  45. /*List of vocation that exists on server*/
  46. $config['server_vocations'] = array(1=>"Goku", 17=>"Vegeta", 32=>"Piccolo", 45=>"C17", 57=>"Gohan", 71=>"Trunks", 83=>"Cell", 95=>"Freeza", 111=>"Majin Boo", 127=>"Brolly", 140=>"C18", 152=>"Uub", 164=>"Goten", 178=>"Chibi Trunks", 192=>"Cooler", 206=>"Dende", 218=>"Tsuful", 230=>"Bardock", 244=>"Kuririn", 256=>"Pan", 268=>"Kaio", 280=>"Videl", 292=>"Janemba", 304=>"Tenshinhan", 316=>"Jenk", 328=>"Raditz", 340=>"C16", 352=>"Turles", 364=>"Bulma");
  47.  
  48. /*List of promotions, the key is vocation without promotion*/
  49. $config['promotions'] = array(1=>"Master Sorcerer", 2=>"Elder Druid", 3=>"Royal Paladin", 4=>"Elite Knight");
  50.  
  51. /*Resitricted names*/
  52. $config['restricted_names'] = array("god", "gamemaster", "admin", "account manager");
  53.  
  54. /*Names with any of this value cannot be created*/
  55. $config['invalidNameTags'] = array("god", "gm", "cm", "gamemaster", "hoster", "admin");
  56.  
  57.  
  58. /*ID and names of worlds*/
  59. $config['worlds'][0] = "Terra";
  60.  
  61. // Enable multiworld by uncommenting this
  62. //$config['worlds'][1] = "Second World";
  63.  
  64. /* Addresses of each server */
  65. $config['servers'][0] = array('address'=>'127.0.0.1', 'port'=>7171, 'vapusid'=>'%VAPUS_ID%');
  66.  
  67. // Enable multiworld by uncommenting this
  68. //$config['servers'][1] = array('address'=>'127.0.0.1', 'port'=>7173, 'vapusid' => 'XXX');
  69.  
  70. /*Groups that exists on server*/
  71. $config['groups'] = array(0=>"Player", 1=>"Player", 2=>"Tutor", 3=>"Senior Tutor", 4=>"Gamemaster", 5=>"Community Manager", 6=>"administrador");
  72.  
  73.  
  74. /*Names of vocations as in database as samples. First key is world id and second vocation id.*/
  75. $config['newchar_vocations'][0][1] = "Goku Sample";
  76. $config['newchar_vocations'][0][17] = "Vegeta Sample";
  77. $config['newchar_vocations'][0][32] = "Piccolo Sample";
  78. $config['newchar_vocations'][0][45] = "C17 Sample";
  79. $config['newchar_vocations'][0][57] = "Gohan Sample";
  80. $config['newchar_vocations'][0][71] = "Trunks Sample";
  81. $config['newchar_vocations'][0][83] = "Cell Sample";
  82. $config['newchar_vocations'][0][95] = "Freeza Sample";
  83. $config['newchar_vocations'][0][111] = "Majin Boo Sample";
  84. $config['newchar_vocations'][0][127] = "Brolly Sample";
  85. $config['newchar_vocations'][0][140] = "C18 Sample";
  86. $config['newchar_vocations'][0][164] = "Goten Sample";
  87. $config['newchar_vocations'][0][178] = "Chibi Trunks Sample";
  88. $config['newchar_vocations'][0][192] = "Cooler Sample";
  89. $config['newchar_vocations'][0][206] = "Dende Sample";
  90. $config['newchar_vocations'][0][218] = "Tsuful Sample";
  91. $config['newchar_vocations'][0][230] = "Bardock Sample";
  92. $config['newchar_vocations'][0][244] = "Kuririn Sample";
  93. $config['newchar_vocations'][0][256] = "Pan Sample";
  94. $config['newchar_vocations'][0][268] = "Kaio Sample";
  95. $config['newchar_vocations'][0][280] = "Videl Sample";
  96. $config['newchar_vocations'][0][292] = "Janemba Sample";
  97. $config['newchar_vocations'][0][304] = "Tenshinhan Sample";
  98. $config['newchar_vocations'][0][316] = "Jenk Sample";
  99. $config['newchar_vocations'][0][328] = "Raditz Sample";
  100. $config['newchar_vocations'][0][340] = "C16 Sample";
  101. $config['newchar_vocations'][0][352] = "Turles Sample";
  102. $config['newchar_vocations'][0][364] = "Bulma Sample";
  103.  
  104. /*Don't show chaarcters with group id higher than*/
  105. $config['players_group_id_block'] = 3;
  106.  
  107.  
  108. /*Min. level to create guild*/
  109. $config['levelToCreateGuild'] = 150;
  110.  
  111.  
  112. /*Limit of latest deaths*/
  113. $config['latestdeathlimit'] = 20;
  114.  
  115. /*Limit news per page*/
  116. $config['newsLimit'] = 100;
  117.  
  118. /*Limit comments per page*/
  119. $config['commentLimit'] = 0;
  120.  
  121. /*Template that should be used on website*/
  122. $config['layout'] = "naruto";
  123.  
  124. /*Title of a website*/
  125. $config['title'] = "DboUniverse";
  126.  
  127.  
  128. /*Premdays given when creating new account.*/
  129. $config['premDays'] = 0;
  130.  
  131.  
  132. /*Positions to start when creating character*/
  133. $startPos['x'] = 655;
  134. $startPos['y'] = 399;
  135. $startPos['z'] = 7;
  136.  
  137.  
  138. /*Trigger password for scaffolding system.*/
  139. $config['scaffolding_trigger'] = "password";
  140.  
  141. /*Minimum page access for admin priviliges*/
  142. $config['adminAccess'] = 6;
  143.  
  144. /*Max threads per page*/
  145. $config['threadsLimit'] = 10;
  146.  
  147. /*Max posts per page in a thread*/
  148. $config['postsLimit'] = 0;
  149.  
  150. /*Time between posts*/
  151. $config['timeBetweenPosts'] = 300;
  152.  
  153. /*Limit of submissions per page in bug tracker*/
  154. $config['bugtrackerPageLimit'] = 10;
  155.  
  156. /*Limit of houses on listing page*/
  157. $config['housesLimit'] = 10;
  158.  
  159. /*Level to buy house*/
  160. $config['houseLevel'] = 120;
  161.  
  162. /*Lenght of housing auction in seconds*/
  163. $config['houseAuctionTime'] = 604800;
  164.  
  165. /*Default timezone*/
  166. $config['timezone'] = "Europe/London";
  167.  
  168. /*Allowed IPs to use command prompt in admin panel*/
  169. $config['allowedToUseCMD'] = array("127.0.0.1", "localhost");
  170.  
  171. /* Path to your UI theme */
  172. $config['UItheme'] = "smoothness/jquery-ui-1.7.2.custom.css";
  173.  
  174. /*Destination to guilds logos folder, must be writable.*/
  175. $config['uploads'] = "/public/guild_logos/";
  176.  
  177. /* Status timeout (recheck if server is online) */
  178. $config['statusTimeout'] = 1 + (5 * 60); // Default to 5min
  179.  
  180. /* Wrap words longer than */
  181. $config['wrap_words'] = 80;
  182.  
  183. /*Limit comments per page in videos view*/
  184. $config['videoCommentsLimit'] = 0;
  185.  
  186. /*Limit of videos to show while searching*/
  187. $config['videoSearchLimit'] = 0;
  188.  
  189. /*Maximum amount of characters per account*/
  190. $config['maxCharacters'] = 7;
  191.  
  192. /*Limit of inbox/outbox messages per page*/
  193. $config['messagesLimit'] = 0;
  194.  
  195. /*Amount of names to be saved when looking for characters*/
  196. $config['characterSearchLimit'] = 10;
  197.  
  198. /*Switch on Admin Window*/
  199. $config['adminWindow'] = true;
  200.  
  201. /*Integrate facebook to AAC? (TRUE/FALSE)*/
  202. $config['facebook'] = false;
  203.  
  204. /*Max amount of saved actions*/
  205. $config['actionsCount'] = 15;
  206.  
  207. /*Player per page in hishscore */
  208. $config['highscore']['per_page'] = 15;
  209.  
  210. /*Total players to show in highscores*/
  211. $config['highscore']['total'] = 100;
  212.  
  213.  
  214. /* Guild board creation */
  215. $config['guildboardTitle'] = "Guildboard for %NAME%";
  216. $config['guildboardDescription'] = "This is the guildboard for the great %NAME% guild!";
  217.  
  218. /* VAPus Settings */
  219. $config['VAPusGraphStep'] = 1; // step * update time = time steps on graph, etc 6 with an update time of 10min = one hour
  220.  
  221.  
  222.  
  223. //Enable delay between creating characters
  224. $config['characterDelay'] = true;
  225.  
  226. //Time between creating characters in seconds
  227. $config['characterDelayTime'] = 60;
  228.  
  229. //Enable delay between creating accounts
  230. $config['accountDelay'] = true;
  231.  
  232. //Time between creating accounts in seconds
  233. $config['accountDelayTime'] = 240;
  234.  
  235. //Account restrictions
  236. $config['restrictedAccounts'] = array('1');
  237.  
  238. ############EVENTS############
  239.  
  240. # Event fired just after main framework to gain access to all features
  241. $config['onLoad'] = array();
  242.  
  243. # Event fired after all finished loading no headers should be sent
  244. $config['onReady'] = array();
  245.  
  246.  
  247. #############################
  248.  
  249. /*
  250. ######################################################################################################################
  251. * Do not touch any of the configs below if you are not 100% sure what you are doing!
  252. * These are config to the engine, usually the default ones works well so no change needed for unexperienced users.
  253. ######################################################################################################################
  254. */
  255. // Tiny hack to figure if we use Windows or not.
  256. if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') @define('USING_WINDOWS', 1);
  257. else @define('USING_WINDOWS', 0);
  258.  
  259. if(USING_WINDOWS) $config['engine']['PHPversion'] = "5.3.0";
  260. else $config['engine']['PHPversion'] = "5.3.0";
  261. $config['engine']['indexPage'] = "index.php";
  262. $config['engine']['uri_protocol'] = "AUTO";
  263. $config['engine']['charSET'] = "UTF-8";
  264. $config['engine']['enable_hooks'] = FALSE;
  265. $config['engine']['permitted_uri_chars'] = "a-z 0-9~%.:_\-'+";
  266. $config['engine']['enable_query_strings'] = FALSE;
  267. $config['engine']['global_xss_filtering'] = TRUE;
  268. $config['engine']['compress_output'] = FALSE;
  269. $config['engine']['proxy_ip'] = "";
  270. $config['engine']['autoload_libraries'] = array();
  271. $config['engine']['autoload_helper'] = array();
  272. $config['engine']['autoload_plugin'] = array();
  273. $config['engine']['autoload_config'] = array();
  274. $config['engine']['autoload_model'] = array();
  275. $config['engine']['default_controller'] = "home";
  276. $config['engine']['platforms'] = array('windows nt 6.0' => 'Windows Longhorn', 'windows nt 5.2' => 'Windows 2003', 'windows nt 5.0' => 'Windows 2000', 'windows nt 5.1' => 'Windows XP', 'windows nt 4.0' => 'Windows NT 4.0', 'winnt4.0' => 'Windows NT 4.0', 'winnt 4.0' => 'Windows NT', 'winnt' => 'Windows NT', 'windows 98' => 'Windows 98', 'win98' => 'Windows 98', 'windows 95' => 'Windows 95', 'win95' => 'Windows 95', 'windows' => 'Unknown Windows OS', 'os x' => 'Mac OS X', 'ppc mac' => 'Power PC Mac', 'freebsd' => 'FreeBSD', 'ppc' => 'Macintosh', 'linux' => 'Linux', 'debian' => 'Debian', 'sunos' => 'Sun Solaris', 'beos' => 'BeOS', 'apachebench' => 'ApacheBench', 'aix' => 'AIX', 'irix' => 'Irix', 'osf' => 'DEC OSF', 'hp-ux' => 'HP-UX', 'netbsd' => 'NetBSD', 'bsdi' => 'BSDi', 'openbsd' => 'OpenBSD', 'gnu' => 'GNU/Linux', 'unix' => 'Unknown Unix OS' );
  277. $config['engine']['mobiles'] = array('mobileexplorer' => 'Mobile Explorer', 'palmsource' => 'Palm', 'palmscape' => 'Palmscape', 'motorola' => "Motorola", 'nokia' => "Nokia", 'palm' => "Palm", 'iphone' => "Apple iPhone", 'ipod' => "Apple iPod Touch", 'sony' => "Sony Ericsson", 'ericsson' => "Sony Ericsson", 'blackberry' => "BlackBerry", 'cocoon' => "O2 Cocoon", 'blazer' => "Treo", 'lg' => "LG", 'amoi' => "Amoi", 'xda' => "XDA", 'mda' => "MDA", 'vario' => "Vario", 'htc' => "HTC", 'samsung' => "Samsung", 'sharp' => "Sharp", 'sie-' => "Siemens", 'alcatel' => "Alcatel", 'benq' => "BenQ", 'ipaq' => "HP iPaq", 'mot-' => "Motorola", 'playstation portable' => "PlayStation Portable", 'hiptop' => "Danger Hiptop", 'nec-' => "NEC", 'panasonic' => "Panasonic", 'philips' => "Philips", 'sagem' => "Sagem", 'sanyo' => "Sanyo", 'spv' => "SPV", 'zte' => "ZTE", 'sendo' => "Sendo", 'symbian' => "Symbian", 'SymbianOS' => "SymbianOS", 'elaine' => "Palm", 'palm' => "Palm", 'series60' => "Symbian S60", 'windows ce' => "Windows CE", 'obigo' => "Obigo", 'netfront' => "Netfront Browser", 'openwave' => "Openwave Browser", 'mobilexplorer' => "Mobile Explorer", 'operamini' => "Opera Mini", 'opera mini' => "Opera Mini", 'digital paths' => "Digital Paths", 'avantgo' => "AvantGo", 'xiino' => "Xiino", 'novarra' => "Novarra Transcoder", 'vodafone' => "Vodafone", 'docomo' => "NTT DoCoMo", 'o2' => "O2", 'mobile' => "Generic Mobile", 'wireless' => "Generic Mobile", 'j2me' => "Generic Mobile", 'midp' => "Generic Mobile", 'cldc' => "Generic Mobile", 'up.link' => "Generic Mobile", 'up.browser' => "Generic Mobile", 'smartphone' => "Generic Mobile", 'cellphone' => "Generic Mobile" );
  278. $config['engine']['robots'] = array('googlebot' => 'Googlebot', 'msnbot' => 'MSNBot', 'slurp' => 'Inktomi Slurp', 'yahoo' => 'Yahoo', 'askjeeves' => 'AskJeeves', 'fastcrawler' => 'FastCrawler', 'infoseek' => 'InfoSeek Robot 1.0', 'lycos' => 'Lycos' );
  279. $config['engine']['browsers'] = array('Opera' => 'Opera', 'MSIE' => 'Internet Explorer', 'Internet Explorer' => 'Internet Explorer', 'Shiira' => 'Shiira', 'Firefox' => 'Firefox', 'Chimera' => 'Chimera', 'Phoenix' => 'Phoenix', 'Firebird' => 'Firebird', 'Camino' => 'Camino', 'Netscape' => 'Netscape', 'OmniWeb' => 'OmniWeb', 'Safari' => 'Safari', 'Mozilla' => 'Mozilla', 'Konqueror' => 'Konqueror', 'icab' => 'iCab', 'Lynx' => 'Lynx', 'Links' => 'Links', 'hotjava' => 'HotJava', 'amaya' => 'Amaya', 'IBrowse' => 'IBrowse' );
  280. $config['engine']['mimes'] = array('hqx' => 'application/mac-binhex40', 'cpt' => 'application/mac-compactpro', 'csv' => array ('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel' ), 'bin' => 'application/macbinary', 'dms' => 'application/octet-stream', 'lha' => 'application/octet-stream', 'lzh' => 'application/octet-stream', 'exe' => 'application/octet-stream', 'class' => 'application/octet-stream', 'psd' => 'application/x-photoshop', 'so' => 'application/octet-stream', 'sea' => 'application/octet-stream', 'dll' => 'application/octet-stream', 'oda' => 'application/oda', 'pdf' => array ('application/pdf', 'application/x-download' ), 'ai' => 'application/postscript', 'eps' => 'application/postscript', 'ps' => 'application/postscript', 'smi' => 'application/smil', 'smil' => 'application/smil', 'mif' => 'application/vnd.mif', 'xls' => array ('application/excel', 'application/vnd.ms-excel', 'application/msexcel' ), 'ppt' => array ('application/powerpoint', 'application/vnd.ms-powerpoint' ), 'wbxml' => 'application/wbxml', 'wmlc' => 'application/wmlc', 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dxr' => 'application/x-director', 'dvi' => 'application/x-dvi', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'php' => 'application/x-httpd-php', 'php4' => 'application/x-httpd-php', 'php3' => 'application/x-httpd-php', 'phtml' => 'application/x-httpd-php', 'phps' => 'application/x-httpd-php-source', 'js' => 'application/x-javascript', 'swf' => 'application/x-shockwave-flash', 'sit' => 'application/x-stuffit', 'tar' => 'application/x-tar', 'tgz' => 'application/x-tar', 'xhtml' => 'application/xhtml+xml', 'xht' => 'application/xhtml+xml', 'zip' => array ('application/x-zip', 'application/zip', 'application/x-zip-compressed' ), 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mpga' => 'audio/mpeg', 'mp2' => 'audio/mpeg', 'mp3' => array ('audio/mpeg', 'audio/mpg' ), 'aif' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'ra' => 'audio/x-realaudio', 'rv' => 'video/vnd.rn-realvideo', 'wav' => 'audio/x-wav', 'bmp' => 'image/bmp', 'gif' => 'image/gif', 'jpeg' => array ('image/jpeg', 'image/pjpeg' ), 'jpg' => array ('image/jpeg', 'image/pjpeg' ), 'jpe' => array ('image/jpeg', 'image/pjpeg' ), 'png' => array ('image/png', 'image/x-png' ), 'tiff' => 'image/tiff', 'tif' => 'image/tiff', 'css' => 'text/css', 'html' => 'text/html', 'htm' => 'text/html', 'shtml' => 'text/html', 'txt' => 'text/plain', 'text' => 'text/plain', 'log' => array ('text/plain', 'text/x-log' ), 'rtx' => 'text/richtext', 'rtf' => 'text/rtf', 'xml' => 'text/xml', 'xsl' => 'text/xml', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'mpe' => 'video/mpeg', 'qt' => 'video/quicktime', 'mov' => 'video/quicktime', 'avi' => 'video/x-msvideo', 'movie' => 'video/x-sgi-movie', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'word' => array ('application/msword', 'application/octet-stream' ), 'xl' => 'application/excel', 'eml' => 'message/rfc822' );
  281. $config['engine']['doctypes'] = array('xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', 'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">', 'xhtml1-trans' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">', 'xhtml1-frame' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">', 'html5' => '<!DOCTYPE html>', 'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">', 'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">', 'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">' );
  282. $config['engine']['url_suffix'] = ".ide";
  283. $config['engine']['sess_cookie_name'] = 'ci_session';
  284. $config['engine']['sess_expiration'] = 7200;
  285. $config['engine']['sess_encrypt_cookie'] = FALSE;
  286. $config['engine']['sess_use_database'] = FALSE;
  287. $config['engine']['sess_table_name'] = 'ci_sessions';
  288. $config['engine']['sess_match_ip'] = FALSE;
  289. $config['engine']['sess_match_useragent'] = TRUE;
  290. $config['engine']['sess_time_to_update'] = 300;
  291. $config['engine']['rewrite_short_tags'] = false;
  292. if(USING_WINDOWS == 1) {
  293. //Load management is not available on Windows.
  294. $config['engine']['loadManagement'] = false;
  295. } else {
  296. //Load management is a maximum ammount of processes website is using. If the website is flooded it will drop connection with users outside this amount.
  297. $config['engine']['loadManagement'] = false;
  298. $config['engine']['maxLoad'] = 60;
  299. }
  300.  
  301. /*
  302. |--------------------------------------------------------------------------
  303. | Error Logging Threshold
  304. |--------------------------------------------------------------------------
  305. |
  306. | If you have enabled error logging, you can set an error threshold to
  307. | determine what gets logged. Threshold options are:
  308. | You can enable error logging by setting a threshold over zero. The
  309. | threshold determines what gets logged. Threshold options are:
  310. |
  311. | 0 = Disables logging, Error logging TURNED OFF
  312. | 1 = Error Messages (including PHP errors)
  313. | 2 = Debug Messages
  314. | 3 = Informational Messages
  315. | 4 = All Messages
  316. |
  317. | For a live site you'll usually only enable Errors (1) to be logged otherwise
  318. | your log files will fill up very fast.
  319. |
  320. */
  321. $config['engine']['log_threshold'] = 0;
  322.  
  323.  
  324. #DON'T TOUCH! DECLARING CONSTANS!
  325. @DEFINE('LEVELTOCREATEGUILD', $config['levelToCreateGuild']);
  326. @DEFINE('PREMDAYS', $config['premDays']);
  327. @DEFINE('HOSTNAME', $config['database']['host']);
  328. @DEFINE('USERNAME', $config['database']['login']);
  329. @DEFINE('PASSWORD', $config['database']['password']);
  330. @DEFINE('DATABASE', $config['database']['database']);
  331. @DEFINE('WEBSITE', $config['website']);
  332. ?>
Advertisement
Add Comment
Please, Sign In to add comment