2010-07-27 17:14:58 +02:00
|
|
|
<?php
|
2012-08-02 02:57:28 +02:00
|
|
|
// 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' );
|
2013-04-06 19:50:49 +02:00
|
|
|
define( 'PRODUCT_URL', 'http://megaglest.org' );
|
2012-08-06 02:15:32 +02:00
|
|
|
|
2010-07-27 17:14:58 +02:00
|
|
|
define( 'MYSQL_HOST', '127.0.0.1' );
|
2013-10-13 03:44:27 +02:00
|
|
|
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
|
|
|
|
2013-11-01 01:04:27 +01: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 );
|
|
|
|
|
2011-01-10 21:09:19 +01:00
|
|
|
// 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
|
|
|
?>
|