single config file
This commit is contained in:
@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user