Revision 2a19f220
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Dispatcher.pm | ||
---|---|---|
236 | 236 |
$::locale = undef; |
237 | 237 |
$::form = undef; |
238 | 238 |
$::myconfig = (); |
239 |
Form::disconnect_standard_dbh();
|
|
239 |
Form::disconnect_standard_dbh unless $self->_interface_is_fcgi;
|
|
240 | 240 |
|
241 | 241 |
$::lxdebug->end_request; |
242 | 242 |
$::lxdebug->leave_sub; |
... | ... | |
244 | 244 |
|
245 | 245 |
sub unrequire_bin_mozilla { |
246 | 246 |
my $self = shift; |
247 |
return unless $self->{interface} =~ m/^(?:fastcgi|fcgid|fcgi)$/;
|
|
247 |
return unless $self->_interface_is_fcgi;
|
|
248 | 248 |
|
249 | 249 |
for (keys %INC) { |
250 | 250 |
next unless m#^bin/mozilla/#; |
... | ... | |
254 | 254 |
} |
255 | 255 |
} |
256 | 256 |
|
257 |
sub _interface_is_fcgi { |
|
258 |
my $self = shift; |
|
259 |
return $self->{interface} =~ m/^(?:fastcgi|fcgid|fcgi)$/; |
|
260 |
} |
|
261 |
|
|
257 | 262 |
sub _route_request { |
258 | 263 |
my $script_name = shift; |
259 | 264 |
|
Auch abrufbar als: Unified diff
Datenbankverbindung bei FCGI-Variante am Schluss nicht schließen