some improvements

This commit is contained in:
kremsy
2014-02-06 21:18:25 +01:00
committed by Steffen Schröder
parent 6ccb5117ae
commit c38f6011b8
7 changed files with 248 additions and 33 deletions

View File

@ -33,7 +33,7 @@ class Server implements CallbackListener {
public $dataDirectory = '';
public $serverCommands = null;
public $usageReporter = null;
public $rankingManager = null;
/**
* Private Properties
@ -52,6 +52,7 @@ class Server implements CallbackListener {
$this->serverCommands = new ServerCommands($maniaControl);
$this->usageReporter = new UsageReporter($maniaControl);
$this->rankingManager = new RankingManager($maniaControl);
// Register for callbacks
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MC_ONINIT, $this, 'onInit');