Instead of looking up the gateway from the config file, use the request object's base method.

This commit is contained in:
Colin Kuskie 2011-01-05 09:10:21 -08:00
parent 468f02c5e1
commit ddf3ecd5b4
2 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ sub www_spectreGetSiteData {
}
else {
my $sitename = $session->config->get("sitename")->[0];
my $gateway = $session->config->get("gateway");
my $gateway = $session->request->base->path;
my $cookieName = $session->config->getCookieName;
my @instances = ();
foreach my $instance (@{WebGUI::Workflow::Instance->getAllInstances($session)}) {