mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-24 03:22:26 +00:00
Load config in database_dumper
This commit is contained in:
parent
ed1015fa89
commit
92a678d0b4
@ -39,12 +39,6 @@ if(!$ARGV[0]){
|
|||||||
exit;
|
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 {
|
sub read_eqemu_config_json {
|
||||||
use JSON;
|
use JSON;
|
||||||
my $json = new JSON();
|
my $json = new JSON();
|
||||||
@ -66,6 +60,8 @@ sub read_eqemu_config_json {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
read_eqemu_config_json();
|
||||||
|
|
||||||
$Debug = 0;
|
$Debug = 0;
|
||||||
print "[db_dumper.pl] Arguments\n" if $Debug;
|
print "[db_dumper.pl] Arguments\n" if $Debug;
|
||||||
$n = 0;
|
$n = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user