Skip to content
Snippets Groups Projects
Commit bcca4267 authored by dev's avatar dev
Browse files

* fixes problem with empty HTTPS element in $_SERVER global in getServerHTTPS() method

parent abb3a2b0
No related branches found
No related tags found
No related merge requests found
...@@ -85,8 +85,8 @@ class HTTP ...@@ -85,8 +85,8 @@ class HTTP
return false; return false;
} }
// otherwise, HTTPS will be a non-empty string // otherwise, HTTPS will be non-empty
return $_SERVER['HTTPS'] !== ''; return !empty($_SERVER['HTTPS']);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment