MegaGlest/source/masterserver/cleanUpServerList.php
Tom Reynolds ddbb69b6fb Masterserver:
· Add LICENSE file
· Add copyright header where missing
· Improve README file
2013-11-08 12:41:11 +00:00

19 lines
506 B
PHP

<?php
// Copyright (C) 2012 Mark Vejvoda, Titus Tscharntke and Tom Reynolds
// The Megaglest Team, under GNU GPL v3.0
// ==============================================================
// This script can be invoked directly by a cron job on a regular basis:
// /path/to/php -f /path/to/script.php
define( 'INCLUSION_PERMITTED', true );
require_once( 'config.php' );
require_once( 'functions.php' );
define( 'DB_LINK', db_connect() );
cleanupServerList();
db_disconnect( DB_LINK );
?>