Changeset 24192 for main/trunk/greenstone2/perllib/cgiactions/baseaction.pm
- Timestamp:
- 2011-06-22T17:39:13+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/cgiactions/baseaction.pm
r24126 r24192 30 30 31 31 use inexport; 32 use Config; # for getting the perlpath in the recommended way 32 33 33 34 our $authenication_enabled = 0; … … 433 434 my $gsdl_cgi = $self->{'gsdl_cgi'}; 434 435 435 my $sendmail_command = "\"$ ^X\" -S sendmail.pl";436 my $sendmail_command = "\"$Config{perlpath}\" -S sendmail.pl"; 436 437 $sendmail_command .= " -to \"" . $mail_to_address . "\""; 437 438 $sendmail_command .= " -from \"" . $mail_from_address . "\""; … … 462 463 $perl_args = "-collectdir \"$collect_dir\" " . $perl_args; 463 464 464 my $perl_command = "\"$ ^X\" -S $script $perl_args";465 my $perl_command = "\"$Config{perlpath}\" -S $script $perl_args"; 465 466 466 467
Note:
See TracChangeset
for help on using the changeset viewer.