Revision 9c6337f3
Von Moritz Bunkus vor mehr als 14 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
use CGI::Ajax;
|
||
use Cwd;
|
||
use Encode;
|
||
use File::Copy;
|
||
use IO::File;
|
||
use SL::Auth;
|
||
use SL::Auth::DB;
|
||
... | ... | |
$self->error("$self->{IN} : " . $template->get_error());
|
||
}
|
||
|
||
if ($self->{media} eq 'file') {
|
||
copy(join('/', $self->{cwd}, $userspath, $self->{tmpfile}), $out =~ m|^/| ? $out : join('/', $self->{cwd}, $out)) if $template->uses_temp_file;
|
||
$self->cleanup;
|
||
chdir("$self->{cwd}");
|
||
|
||
$::lxdebug->leave_sub();
|
||
|
||
return;
|
||
}
|
||
|
||
if ($template->uses_temp_file() || $self->{media} eq 'email') {
|
||
|
||
if ($self->{media} eq 'email') {
|
Auch abrufbar als: Unified diff
parse_template: $form->{media} == 'file' bedeutet, nur Druckdatei in $form->{OUT} erstellen, nicht ausgeben
Conflicts: