projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Den Pfad zu den Vorlagen richtig setzen. Ging mit dem letzten Commit kaputt.
[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"; };
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";
require "bin/mozilla/common.pl";
@@
-76,6
+77,8
@@
$script =~ s/\.pl//;
# pull in DBI
use DBI;
# pull in DBI
use DBI;
+$form->{login} =~ s|.*/||;
+
# check for user config file, could be missing or ???
eval { require("$userspath/$form->{login}.conf"); };
if ($@) {
# check for user config file, could be missing or ???
eval { require("$userspath/$form->{login}.conf"); };
if ($@) {