handle database loss

This commit is contained in:
kremsy
2014-03-12 13:27:14 +01:00
committed by Steffen Schröder
parent dbdc318bba
commit 937f8f3f52
2 changed files with 22 additions and 3 deletions

View File

@ -98,9 +98,9 @@ class ManiaControl implements CommandListener, TimerListener {
$this->config = FileUtil::loadConfig('server.xml');
// Load ManiaControl Modules
$this->database = new Database($this);
$this->callbackManager = new CallbackManager($this);
$this->timerManager = new TimerManager($this);
$this->database = new Database($this);
$this->fileReader = new AsynchronousFileReader($this);
$this->billManager = new BillManager($this);
$this->settingManager = new SettingManager($this);