Orders 1.5.3 + SSL

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
qv90
Forum Members
Forum Members
Posts: 16
Joined: Wed Jul 01, 2009 1:50 pm

Orders 1.5.3 + SSL

Post 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'));
_________________
Live long and prosper
Florian
http://syncgw.com
Post Reply

Return to “Modules/Add-Ons”