single config file

This commit is contained in:
Steffen Schröder committed 2014-01-06 14:22:48 +01:00
1 parent 5d4cf86f61
commit 2c5a7a52e2
7 files changed
+37 -86

No files matched your search

-8
View File
@@ -22,11 +22,6 @@ class Server implements CallbackListener {
*/
const TABLE_SERVERS = 'mc_servers';
/**
* Public Properties
*/
public $config = null;
/**
* Private Properties
*/
@@ -44,9 +39,6 @@ class Server implements CallbackListener {
$this->maniaControl = $maniaControl;
$this->initTables();
// Load config
$this->config = FileUtil::loadConfig('server.xml');
// Register for callbacks
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MC_ONINIT, $this, 'onInit');