diff options
-rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 68c3612f..a6109ef7 100644 --- a/inc/functions.php +++ b/inc/functions.php | |||
@@ -7,7 +7,7 @@ function get_poche_url() | |||
7 | { | 7 | { |
8 | $protocol = "http"; | 8 | $protocol = "http"; |
9 | if(isset($_SERVER['HTTPS'])) { | 9 | if(isset($_SERVER['HTTPS'])) { |
10 | if($_SERVER['HTTPS'] != "off") { | 10 | if($_SERVER['HTTPS'] != "off" && $_SERVER['HTTPS'] != "") { |
11 | $protocol = "https"; | 11 | $protocol = "https"; |
12 | } | 12 | } |
13 | } | 13 | } |