Cart now redirects to ssl if the site is ssl enabled.

This commit is contained in:
Kaleb Murphy 2008-07-24 19:56:54 +00:00
parent 026e77663e
commit eff953b5ed
3 changed files with 43 additions and 1 deletions

View file

@ -678,7 +678,10 @@ sub www_view {
my $url = $session->url;
my $i18n = WebGUI::International->new($session, "Shop");
my @items = ();
if($url->forceSecureConnection()){
return "redirect";
}
# set up html header
$session->style->setRawHeadTags(q|
<script type="text/javascript">