projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Globale Variablen für Druckvorlagen nach %::lx_office_conf verschoben
[kivitendo-erp.git]
/
SL
/
DATEV.pm
diff --git
a/SL/DATEV.pm
b/SL/DATEV.pm
index
508ed95
..
60eb97f
100644
(file)
--- a/
SL/DATEV.pm
+++ b/
SL/DATEV.pm
@@
-58,7
+58,7
@@
sub get_path_for_download_token {
my $path;
if ($token =~ m|^(\d+)-(\d+)-(\d+)$|) {
my $path;
if ($token =~ m|^(\d+)-(\d+)-(\d+)$|) {
- $path =
"${main::userspath}
/datev-export-${1}-${2}-${3}";
+ $path =
$::lx_office_conf{paths}->{userspath} . "
/datev-export-${1}-${2}-${3}";
}
$main::lxdebug->leave_sub();
}
$main::lxdebug->leave_sub();
@@
-84,7
+84,7
@@
sub get_download_token_for_path {
sub clean_temporary_directories {
$main::lxdebug->enter_sub();
sub clean_temporary_directories {
$main::lxdebug->enter_sub();
- foreach my $path (glob
"${main::userspath}/datev-export-*"
) {
+ foreach my $path (glob
($::lx_office_conf{paths}->{userspath} . "/datev-export-*")
) {
next unless (-d $path);
my $mtime = (stat($path))[9];
next unless (-d $path);
my $mtime = (stat($path))[9];