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
|
|
|
// 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() );
|
|
|
|
|
2011-01-26 20:13:10 +01:00
|
|
|
cleanupServerList();
|
2010-07-27 17:14:58 +02:00
|
|
|
|
|
|
|
db_disconnect( DB_LINK );
|
|
|
|
?>
|