projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BackgroundJob-Hilfsfunktionen
[kivitendo-erp.git]
/
SL
/
Dispatcher.pm
diff --git
a/SL/Dispatcher.pm
b/SL/Dispatcher.pm
index
e6aa547
..
4a3f131
100644
(file)
--- a/
SL/Dispatcher.pm
+++ b/
SL/Dispatcher.pm
@@
-147,7
+147,8
@@
sub _run_controller {
}
sub handle_request {
}
sub handle_request {
- my $self = shift;
+ my $self = shift;
+ $self->{request} = shift;
$::lxdebug->enter_sub;
$::lxdebug->begin_request;
$::lxdebug->enter_sub;
$::lxdebug->begin_request;
@@
-306,6
+307,12
@@
sub _route_controller_request {
return ($controller, $action);
}
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;
package main;
use strict;