Es ermöglichen, dass bei den Berichtsfunktionen nicht nach Bearbeitern gefiltert...
[kivitendo-erp.git] / am.pl
diff --git a/am.pl b/am.pl
index 2860f61..b54599e 100755 (executable)
--- a/am.pl
+++ b/am.pl
@@ -51,6 +51,7 @@ use SL::Form;
 use SL::Locale;
 
 eval { require "lx-erp.conf"; };
+eval { require "lx-erp-local.conf"; } if -f "lx-erp-local.conf";
 
 require "bin/mozilla/common.pl";
 
@@ -76,6 +77,8 @@ $script =~ s/\.pl//;
 # pull in DBI
 use DBI;
 
+$form->{login} =~ s|.*/||;
+
 # check for user config file, could be missing or ???
 eval { require("$userspath/$form->{login}.conf"); };
 if ($@) {