Remove duplicate check for $_SERVER['HTTPS'] emptiness

This commit is contained in:
Kijin Sung 2024-10-14 01:11:02 +09:00
parent 4849489d45
commit da74c46ba4

View file

@ -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);
}