mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +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.
|
||||
*/
|
||||
if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off')
|
||||
if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off')
|
||||
{
|
||||
define('RX_SSL', true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue