RFE 549 commits now check for spectre connectivity before commiting and a new macro for showing spectre status.

This commit is contained in:
Kaleb Murphy 2008-10-21 16:54:00 +00:00
parent 655e5e7654
commit 77913e956b
7 changed files with 42 additions and 9 deletions

View file

@ -172,7 +172,21 @@ sub www_spectreTest {
my $session = shift;
$session->http->setMimeType("text/plain");
$session->http->setCacheControl("none");
return WebGUI::Operation::Spectre::spectreTest($session);
}
#-------------------------------------------------------------------
=head2 spectreTest ( )
Spectre executes this function to see if WebGUI connectivity is working.
=cut
sub spectreTest{
my $session = shift;
my $subnets = $session->config->get("spectreSubnets");
if (!defined $subnets) {
$subnets = [];
}