From f0fc50119b29135c29be4528c67077e1005915be Mon Sep 17 00:00:00 2001 From: nicosomb Date: Thu, 18 Apr 2013 08:15:34 +0200 Subject: [PATCH] Fixed #49 - test si non vide --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } }