Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision dc50b737

Von Sven Schöling vor mehr als 14 Jahren hinzugefügt

  • ID dc50b737f80c8bd09ac2fbbfa2cc06a04e9d8753
  • Vorgänger eb69ed59
  • Nachfolger e9238b7d

fcgi patch test

Conflicts:

am.pl
bin/mozilla/oe.pl

Unterschiede anzeigen:

SL/Form.pm
743 743
  return $cgi->redirect($new_uri);
744 744
}
745 745

  
746
sub set_standard_title {
747
  $::lxdebug->enter_sub;
748
  my $self = shift;
749

  
750
  $self->{titlebar}  = "Lx-Office " . $::locale->text('Version') . " $self->{version}";
751
  $self->{titlebar} .= "- $::myconfig{name}"   if $::myconfig{name};
752
  $self->{titlebar} .= "- $::myconfig{dbname}" if $::myconfig{name};
753

  
754
  $::lxdebug->leave_sub;
755
}
756

  
746 757
sub _prepare_html_template {
747 758
  $main::lxdebug->enter_sub();
748 759

  
......
961 972

  
962 973
  my ($self, $msg) = @_;
963 974

  
964
  if ($self->{callback}) {
965

  
966
    my ($script, $argv) = split(/\?/, $self->{callback}, 2);
967
    $script =~ s|.*/||;
968
    $script =~ s|[^a-zA-Z0-9_\.]||g;
969
    exec("perl", "$script", $argv);
970

  
971
  } else {
975
  if (!$self->{callback}) {
972 976

  
973 977
    $self->info($msg);
974 978
    exit;
975 979
  }
976 980

  
981
#  my ($script, $argv) = split(/\?/, $self->{callback}, 2);
982
#  $script =~ s|.*/||;
983
#  $script =~ s|[^a-zA-Z0-9_\.]||g;
984
#  exec("perl", "$script", $argv);
985

  
986
  print $::form->redirect_header($self->{callback});
987

  
977 988
  $main::lxdebug->leave_sub();
978 989
}
979 990

  

Auch abrufbar als: Unified diff