mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix incorrect SSL detection
This commit is contained in:
parent
30246059eb
commit
70c6c6a949
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class ModuleHandler extends Handler
|
|||
|
||||
if(isset($this->act) && (strlen($this->act) >= 4 && substr_compare($this->act, 'disp', 0, 4) === 0))
|
||||
{
|
||||
if(Context::get('_use_ssl') == 'optional' && Context::isExistsSSLAction($this->act) && RX_SSL)
|
||||
if(Context::get('_use_ssl') == 'optional' && Context::isExistsSSLAction($this->act) && !RX_SSL)
|
||||
{
|
||||
if(Context::get('_https_port')!=null) {
|
||||
header('location:https://' . $_SERVER['HTTP_HOST'] . ':' . Context::get('_https_port') . $_SERVER['REQUEST_URI']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue