projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Payment Helper setzt $self->transactions zurück
[kivitendo-erp.git]
/
SL
/
Dispatcher.pm
diff --git
a/SL/Dispatcher.pm
b/SL/Dispatcher.pm
index
43d6fa7
..
77074cc
100644
(file)
--- a/
SL/Dispatcher.pm
+++ b/
SL/Dispatcher.pm
@@
-25,7
+25,6
@@
use English qw(-no_match_vars);
use File::Basename;
use List::MoreUtils qw(all);
use List::Util qw(first);
use File::Basename;
use List::MoreUtils qw(all);
use List::Util qw(first);
-use POSIX;
use SL::ArchiveZipFixes;
use SL::Auth;
use SL::Dispatcher::AuthHandler;
use SL::ArchiveZipFixes;
use SL::Auth;
use SL::Dispatcher::AuthHandler;
@@
-319,6
+318,14
@@
sub handle_request {
$::form->footer;
$::form->footer;
+ if ($self->_interface_is_fcgi) {
+ # fcgi? send send reponse on its way before cleanup.
+ $self->{request}->Flush;
+ $self->{request}->Finish;
+ }
+
+ $::lxdebug->end_request;
+
# cleanup
$::auth->save_session;
$::auth->expire_sessions;
# cleanup
$::auth->save_session;
$::auth->expire_sessions;
@@
-328,9
+335,9
@@
sub handle_request {
$::form = undef;
$::myconfig = ();
$::request = undef;
$::form = undef;
$::myconfig = ();
$::request = undef;
- Form::disconnect_standard_dbh;
- $::lxdebug->end_request;
+ SL::DBConnect::Cache->reset_all;
+ Form::disconnect_standard_dbh;
$self->_watch_for_changed_files;
$self->_watch_for_changed_files;