Cart now redirects to ssl if the site is ssl enabled.
This commit is contained in:
parent
026e77663e
commit
eff953b5ed
3 changed files with 43 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue