renamed server config class

This commit is contained in:
Steffen Schröder
2014-06-20 19:05:59 +02:00
parent 14e92a10b8
commit 3922b6eac7
2 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ class Server implements CallbackListener {
/*
* Public Properties
*/
/** @var ServerConfig $config */
/** @var Config $config */
public $config = null;
public $index = -1;
public $ip = null;
@ -125,7 +125,7 @@ class Server implements CallbackListener {
$passElements = $serverElement->xpath('pass');
// Create config object
$config = new ServerConfig($serverId, $hostElements, $portElements, $userElements, $passElements);
$config = new Config($serverId, $hostElements, $portElements, $userElements, $passElements);
$message = null;
if (!$config->validate($message)) {
$this->maniaControl->quit("Your config file doesn't seem to be maintained properly. Please check the server configuration again! {$message}", true);