MegaGlest/source/masterserver/config.php

33 lines
1.3 KiB
PHP
Raw Normal View History

2010-07-27 17:14:58 +02:00
<?php
// Copyright (C) 2012 Mark Vejvoda, Titus Tscharntke and Tom Reynolds
// The Megaglest Team, under GNU GPL v3.0
// ==============================================================
2010-07-27 17:14:58 +02:00
if ( !defined('INCLUSION_PERMITTED') || ( defined('INCLUSION_PERMITTED') && INCLUSION_PERMITTED !== true ) ) { die( 'This file must not be invoked directly.' ); }
2012-08-06 02:15:32 +02:00
define( 'PRODUCT_NAME', 'MegaGlest' );
define( 'PRODUCT_URL', 'http://megaglest.org' );
2012-08-06 02:15:32 +02:00
define( 'MYSQL_HOST', 'localhost' );
define( 'MYSQL_DATABASE', 'megaglest_master' );
define( 'MYSQL_USER', 'not_root' );
2010-07-27 17:14:58 +02:00
define( 'MYSQL_PASSWORD', 'your_pwd' );
2012-08-06 02:15:32 +02:00
2010-07-27 17:14:58 +02:00
// Allow using persistent MYSQL database server connections
// This _can_ improve performance remarkably but _can_ also break stuff completely, so read up:
// http://php.net/manual/function.mysql-pconnect.php
// http://php.net/manual/features.persistent-connections.php
define( 'MYSQL_LINK_PERSIST', false );
2012-08-06 02:15:32 +02:00
// Show games in the games list no older than x hours
define( 'MAX_HOURS_OLD_GAMES', 48 );
2013-11-01 18:23:17 +01:00
// Purge Finished Games that are less than X minutes
define( 'MAX_MINS_OLD_COMPLETED_GAMES', 5 );
// How many recently seen servers to store
define( 'MAX_RECENT_SERVERS', 5 );
2012-08-06 02:15:32 +02:00
define( 'DEFAULT_COUNTRY', '??' );
2010-07-27 17:14:58 +02:00
?>