Revision 7bd555b6
Von Moritz Bunkus vor mehr als 14 Jahren hinzugefügt
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
Nach jedem Request die Standard-Datenbankverbindung schließen