5 unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML).
6 push @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version.
10 $lxdebug = LXDebug->new();
16 eval { require "config/lx-erp.conf"; };
17 eval { require "config/lx-erp-local.conf"; } if (-f "config/lx-erp-local.conf");
21 our $auth = SL::Auth->new();
22 if (!$auth->session_tables_present()) {
23 _show_error('login/auth_db_unreachable');
25 $auth->expire_sessions();
26 $auth->restore_session();
28 our %myconfig = $auth->read_user($form->{login});
30 $locale = new Locale "$myconfig{countrycode}", "kopf";
32 delete $form->{password};
34 eval { require "bin/mozilla/kopf.pl"; };