From 92a678d0b4c6b17af459eb2f854be213b5f307f4 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sun, 23 Jul 2017 03:13:14 -0500 Subject: [PATCH] Load config in database_dumper --- utils/scripts/database_dumper.pl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/utils/scripts/database_dumper.pl b/utils/scripts/database_dumper.pl index 78dc12eb5..51b16eabc 100644 --- a/utils/scripts/database_dumper.pl +++ b/utils/scripts/database_dumper.pl @@ -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;