Revision 09479f02
Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt
SL/Dispatcher.pm | ||
---|---|---|
143 | 143 |
print $::form->parse_html_template($template, \%params); |
144 | 144 |
$::lxdebug->leave_sub; |
145 | 145 |
|
146 |
::end_of_request();
|
|
146 |
end_request();
|
|
147 | 147 |
} |
148 | 148 |
|
149 | 149 |
sub pre_startup_setup { |
... | ... | |
305 | 305 |
action => $action, |
306 | 306 |
); |
307 | 307 |
|
308 |
::end_of_request() unless $auth_result{auth_ok};
|
|
308 |
$self->end_request unless $auth_result{auth_ok};
|
|
309 | 309 |
|
310 | 310 |
delete @{ $::form }{ grep { m/^\{AUTH\}/ } keys %{ $::form } } unless $auth_result{keep_auth_vars}; |
311 | 311 |
|
... | ... | |
370 | 370 |
$action .= '&error=' . $params{error} if $params{error}; |
371 | 371 |
|
372 | 372 |
print $::request->cgi->redirect("controller.pl?action=${action}"); |
373 |
::end_of_request();
|
|
373 |
$self->end_request;
|
|
374 | 374 |
} |
375 | 375 |
|
376 | 376 |
sub unrequire_bin_mozilla { |
... | ... | |
498 | 498 |
$::form->header; |
499 | 499 |
print $::form->parse_html_template('login_screen/old_configuration_files', { FILES => \@old_files }); |
500 | 500 |
|
501 |
::end_of_request();
|
|
501 |
end_request();
|
|
502 | 502 |
} |
503 | 503 |
|
504 | 504 |
sub _parse_number_with_unit { |
... | ... | |
549 | 549 |
return 0; |
550 | 550 |
} |
551 | 551 |
|
552 |
package main; |
|
553 |
|
|
554 |
use strict; |
|
555 |
|
|
556 |
sub end_of_request { |
|
552 |
sub end_request { |
|
557 | 553 |
die SL::Dispatcher->END_OF_REQUEST; |
558 | 554 |
} |
559 | 555 |
|
Auch abrufbar als: Unified diff
Dispatcher: end_of_request() sub aus main namespace verbannt