Revision f2af9def
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Mailer.pm | ||
---|---|---|
116 | 116 |
|
117 | 117 |
my %temp_form = ( %{ $form }, 'myconfig_email' => $email ); |
118 | 118 |
my $template = SL::Template::create(type => 'PlainText', form => \%temp_form); |
119 |
my $sendmail = $template->parse_block($main::sendmail);
|
|
119 |
my $sendmail = $template->parse_block($::lx_office_conf{applications}->{sendmail});
|
|
120 | 120 |
|
121 |
if (!open(OUT, $sendmail)) {
|
|
121 |
if (!open(OUT, "|$sendmail")) {
|
|
122 | 122 |
$main::lxdebug->leave_sub(); |
123 | 123 |
return "$sendmail : $!"; |
124 | 124 |
} |
Auch abrufbar als: Unified diff
Globale Variablen nach %::lx_office_conf verschoben
Betroffen sind:
$sendmail
$openofficeorg_writer_bin
$xvfb_bin
$html2ps_bin
$ghostscript_bin
$latex_bin
$pg_dump_exe
$pg_restore_exe