… | |
… | |
2374 | if (-e "$Deliantra::VARDIR/client.cf") { |
2374 | if (-e "$Deliantra::VARDIR/client.cf") { |
2375 | DC::read_cfg "$Deliantra::VARDIR/client.cf"; |
2375 | DC::read_cfg "$Deliantra::VARDIR/client.cf"; |
2376 | } else { |
2376 | } else { |
2377 | #TODO: compatibility cruft |
2377 | #TODO: compatibility cruft |
2378 | DC::read_cfg "$Deliantra::OLDDIR/cfplusrc"; |
2378 | DC::read_cfg "$Deliantra::OLDDIR/cfplusrc"; |
2379 | print STDERR "INFO: used old configuratrion file\n"; |
2379 | print STDERR "INFO: used old configuration file\n"; |
2380 | } |
2380 | } |
2381 | |
2381 | |
2382 | DC::DB::Server::run; |
2382 | DC::DB::Server::run; |
2383 | |
2383 | |
2384 | DC::UI::set_layout ($::CFG->{layout}); |
2384 | DC::UI::set_layout ($::CFG->{layout}); |