diff --git a/inc/functions.php b/inc/functions.php index 68c3612..a6109ef 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -7,7 +7,7 @@ function get_poche_url() { $protocol = "http"; if(isset($_SERVER['HTTPS'])) { - if($_SERVER['HTTPS'] != "off") { + if($_SERVER['HTTPS'] != "off" && $_SERVER['HTTPS'] != "") { $protocol = "https"; } }