mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Backed out changeset c1aef8af04ef (rev 2895) until I (or someone else) can figure out how to do it correctly.
--HG-- branch : trunk
This commit is contained in:
@@ -948,12 +948,12 @@ void ScriptsInit()
|
||||
outstring_log("");
|
||||
|
||||
//Get configuration file
|
||||
if (!TScriptConfig.SetSource(sConfig.GetFilename()))
|
||||
if (!TScriptConfig.SetSource(_TRINITY_SCRIPT_CONFIG))
|
||||
{
|
||||
CanLoadDB = false;
|
||||
error_log("TSCR: Unable to open configuration file. Database will be unaccessible. Configuration values will use default.");
|
||||
}
|
||||
else outstring_log("TSCR: Using configuration file %s",TScriptConfig.GetFilename());
|
||||
else outstring_log("TSCR: Using configuration file %s",_TRINITY_SCRIPT_CONFIG);
|
||||
|
||||
outstring_log("");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user