Load config in database_dumper

This commit is contained in:
Akkadius 2017-07-23 03:13:14 -05:00
parent ed1015fa89
commit 92a678d0b4

View File

@ -39,12 +39,6 @@ if(!$ARGV[0]){
exit;
}
#::: CONFIG VARIABLES - Parsed from eqemu_config.xml
my $confile = "eqemu_config.xml"; #default
open(F, "<$confile") or die "Unable to open config: $confile - This must be in your EQEmu Server Folder with your XML config\n";
my $indb = 0;
sub read_eqemu_config_json {
use JSON;
my $json = new JSON();
@ -66,6 +60,8 @@ sub read_eqemu_config_json {
}
read_eqemu_config_json();
$Debug = 0;
print "[db_dumper.pl] Arguments\n" if $Debug;
$n = 0;