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