Configuration/ConfigMgr: converted from singleton to namespace with free functions.
This commit is contained in:
1 parent
71228f90bb
commit
be12603150
15 files changed
+447
-457
No files matched your search
@@ -129,7 +129,7 @@ extern int main(int argc, char **argv)
|
||||
++c;
|
||||
}
|
||||
|
||||
if (!sConfig->SetSource(cfg_file))
|
||||
if (!ConfigMgr::Load(cfg_file))
|
||||
{
|
||||
sLog->outError("Invalid or missing configuration file : %s", cfg_file);
|
||||
sLog->outError("Verify that the file exists and has \'[worldserver]' written in the top of the file!");
|
||||
|
||||
Reference in new issue
Block a user