Page 1 of 1

Orders 1.5.3 + SSL

Posted: Mon Sep 14, 2009 10:20 am
by qv90
Hi,

minor bug in action.confirm.php on line 46

Code: Select all

$url = str_replace('http:','https:',$gCms->config['root_url']).$_SERVER['REQUEST_URI'];
This does not work at all, since base directory of CMSms installation is doubled:

A location of http://localhost/cms/index.php?mact=Orders... is changed to https://localhost/cms/cms/index.php?mact=Orders...

Please update line to

Code: Select all

$url = str_replace('http:','https:',$gCms->config['root_url']).
substr($_SERVER['REQUEST_URI'], stripos($_SERVER['REQUEST_URI'], '/index.php'));