diff options
| author | Darkelarious <darkelarious@333networks.com> | 2017-05-13 14:18:28 +0200 |
|---|---|---|
| committer | Darkelarious <darkelarious@333networks.com> | 2017-05-13 14:20:49 +0200 |
| commit | 34a2c7390ea9662d33258d384e72fff1912343ff (patch) | |
| tree | d96ea33c0107e4906a152aa1de4b5c75b81ba0a8 /util/tools/db_load_ciphers.pl | |
| parent | 84af66aba26d2088d5d95c240d176f3edaf17b58 (diff) | |
| download | MasterServer-Perl-34a2c7390ea9662d33258d384e72fff1912343ff.tar.gz MasterServer-Perl-34a2c7390ea9662d33258d384e72fff1912343ff.zip | |
revised synchronization methods, config settings and bug fixesv2.3.0
Diffstat (limited to 'util/tools/db_load_ciphers.pl')
| -rwxr-xr-x | util/tools/db_load_ciphers.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/tools/db_load_ciphers.pl b/util/tools/db_load_ciphers.pl index b047b77..5e0bc8d 100755 --- a/util/tools/db_load_ciphers.pl +++ b/util/tools/db_load_ciphers.pl @@ -30,7 +30,7 @@ use Data::Dumper 'Dumper'; use Cwd 'abs_path'; our $ROOT; -BEGIN { ($ROOT = abs_path $0) =~ s{/util/ciphers\.pl$}{}; } +BEGIN { ($ROOT = abs_path $0) =~ s{/util/tools/db_load_ciphers\.pl$}{}; } use lib $ROOT.'/lib'; use MasterServer; @@ -40,7 +40,7 @@ require "$ROOT/data/supportedgames.pl"; # open db connection -my $dbh = DBI->connect('dbi:Pg:dbname=masterserver', 'user', 'password') +my $dbh = DBI->connect('dbi:Pg:dbname=database', 'user', 'password') or die "Cannot connect: $DBI::errstr\n"; # intro |
