mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +09:00
Remove duplicate check for $_SERVER['HTTPS'] emptiness
This commit is contained in:
parent
4849489d45
commit
da74c46ba4
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ else
|
||||||
/*
|
/*
|
||||||
* RX_SSL is true if the current request uses SSL/TLS.
|
* RX_SSL is true if the current request uses SSL/TLS.
|
||||||
*/
|
*/
|
||||||
if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off')
|
if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off')
|
||||||
{
|
{
|
||||||
define('RX_SSL', true);
|
define('RX_SSL', true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue