Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7bd555b6

Von Moritz Bunkus vor mehr als 14 Jahren hinzugefügt

  • ID 7bd555b62a7501d750d7989b75b46a40c5e7c1a3
  • Vorgänger 2e9d34aa
  • Nachfolger 596459af

Nach jedem Request die Standard-Datenbankverbindung schließen

Unterschiede anzeigen:

SL/Dispatcher.pm
$::locale = undef;
$::form = undef;
$::myconfig = ();
Form::disconnect_standard_dbh();
$::lxdebug->end_request;
$::lxdebug->leave_sub;
SL/Form.pm
my $standard_dbh;
END {
if ($standard_dbh) {
$standard_dbh->disconnect();
undef $standard_dbh;
}
disconnect_standard_dbh();
}
sub disconnect_standard_dbh {
return unless $standard_dbh;
$standard_dbh->disconnect();
undef $standard_dbh;
}
sub _store_value {

Auch abrufbar als: Unified diff