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