From da74c46ba47b9302cd508c5c05773a5202e09bde Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Mon, 14 Oct 2024 01:11:02 +0900 Subject: [PATCH] Remove duplicate check for $_SERVER['HTTPS'] emptiness --- common/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/constants.php b/common/constants.php index 074ec589b..0145e8788 100644 --- a/common/constants.php +++ b/common/constants.php @@ -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); }