//remove useless comments
This commit is contained in:
+1
-1
@@ -267,7 +267,7 @@ class ToolsCore
|
||||
// $_SERVER['SSL'] exists only in some specific configuration
|
||||
if (isset($_SERVER['SSL']))
|
||||
return ($_SERVER['SSL'] == 1 || strtolower($_SERVER['SSL']) == 'on');
|
||||
// $_SERVER['REDIRECT_HTTPS'] exists only in some specific configuration (e.g. Gandi's simple hosting)
|
||||
// $_SERVER['REDIRECT_HTTPS'] exists only in some specific configuration
|
||||
if (isset($_SERVER['REDIRECT_HTTPS']))
|
||||
return ($_SERVER['REDIRECT_HTTPS'] == 1 || strtolower($_SERVER['REDIRECT_HTTPS']) == 'on');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user