X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/23f79a876613fabf7f4aa2de230788ebeb840de9..7a0da5ac43efdef3428d9268c141a747b3d0c989:/SL/Dispatcher.pm diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index e6aa54774..4a3f131d3 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -147,7 +147,8 @@ sub _run_controller { } sub handle_request { - my $self = shift; + my $self = shift; + $self->{request} = shift; $::lxdebug->enter_sub; $::lxdebug->begin_request; @@ -306,6 +307,12 @@ sub _route_controller_request { return ($controller, $action); } +sub get_standard_filehandles { + my $self = shift; + + return $self->{interface} =~ m/f(?:ast)cgi/i ? $self->{request}->GetHandles() : (\*STDIN, \*STDOUT, \*STDERR); +} + package main; use strict;