split up tools class in FileUtil and ManialinkUtil

This commit is contained in:
Steffen Schröder
2013-11-10 13:58:08 +01:00
parent 5c8160bec0
commit 31a32457c1
9 changed files with 123 additions and 161 deletions

View File

@ -32,7 +32,7 @@ class Database {
$this->maniaControl = $maniaControl;
// Load config
$this->config = Tools::loadConfig('database.xml');
$this->config = FileUtil::loadConfig('database.xml');
// Get mysql server information
$host = $this->config->xpath('host');