MegaGlest/source/masterserver/config.php

33 lines
1.3 KiB
PHP

<?php
// Copyright (C) 2012 Mark Vejvoda, Titus Tscharntke and Tom Reynolds
// The Megaglest Team, under GNU GPL v3.0
// ==============================================================
if ( !defined('INCLUSION_PERMITTED') || ( defined('INCLUSION_PERMITTED') && INCLUSION_PERMITTED !== true ) ) { die( 'This file must not be invoked directly.' ); }
define( 'PRODUCT_NAME', 'MegaGlest' );
define( 'PRODUCT_URL', 'http://megaglest.org' );
define( 'MYSQL_HOST', 'localhost' );
define( 'MYSQL_DATABASE', 'megaglest_master' );
define( 'MYSQL_USER', 'not_root' );
define( 'MYSQL_PASSWORD', 'your_pwd' );
// 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 );
// Show games in the games list no older than x hours
define( 'MAX_HOURS_OLD_GAMES', 48 );
// 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 );
define( 'DEFAULT_COUNTRY', '??' );
?>