Revision 879abbad
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
SL/Dispatcher.pm | ||
---|---|---|
use constant END_OF_REQUEST => "END-OF-REQUEST\n";
|
||
|
||
sub pre_request_checks {
|
||
show_error('login/auth_db_unreachable') unless $::auth->session_tables_present;
|
||
if (!$::auth->session_tables_present) {
|
||
if ($::form->{script} eq 'admin.pl') {
|
||
::run();
|
||
::end_of_request();
|
||
} else {
|
||
show_error('login/auth_db_unreachable');
|
||
}
|
||
}
|
||
$::auth->expire_sessions;
|
||
}
|
||
|
Auch abrufbar als: Unified diff
Exception im boopstrapping: Wenn keine auth db vorhanden ist, sofort auf adminmaske.