Revision c29d964c
Von Jan Büren vor fast 11 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
1080 | 1080 |
} |
1081 | 1081 |
|
1082 | 1082 |
close OUT if $self->{OUT}; |
1083 |
|
|
1084 |
my $copy_to_webdav = $::instance_conf->get_webdav && $::instance_conf->get_webdav_documents && !$self->{preview} && $self->{tmpdir} && $self->{tmpfile} && $self->{type}; |
|
1083 |
# check only one flag (webdav_documents) |
|
1084 |
# therefore copy to webdav, even if we do not have the webdav feature enabled (just archive) |
|
1085 |
my $copy_to_webdav = $::instance_conf->get_webdav_documents && !$self->{preview} && $self->{tmpdir} && $self->{tmpfile} && $self->{type}; |
|
1085 | 1086 |
|
1086 | 1087 |
if ($self->{media} eq 'file') { |
1087 | 1088 |
copy(join('/', $self->{cwd}, $userspath, $self->{tmpfile}), $out =~ m|^/| ? $out : join('/', $self->{cwd}, $out)) if $template->uses_temp_file; |
Auch abrufbar als: Unified diff
Dokumentenarchivierung unabhängig vom WebDAV-Feature