зеркало из https://github.com/mozilla/pjs.git
Don't try to put out the footer if we're shutdown (as that can try to access the DB which we don't want).
This commit is contained in:
Родитель
aeeb27f185
Коммит
9802e66dab
|
@ -31,6 +31,7 @@ use strict;
|
|||
sub CGI_pl_sillyness {
|
||||
my $zz;
|
||||
$zz = %::FILENAME;
|
||||
$zz = %::dontchange;
|
||||
}
|
||||
|
||||
use CGI::Carp qw(fatalsToBrowser);
|
||||
|
@ -758,7 +759,6 @@ sub PutHeader {
|
|||
if (Param("shutdownhtml")) {
|
||||
if (!$ignoreshutdown) {
|
||||
print Param("shutdownhtml");
|
||||
PutFooter();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче