]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fixed #49 - test si non vide
authornicosomb <nicolas@loeuillet.org>
Thu, 18 Apr 2013 06:15:34 +0000 (08:15 +0200)
committernicosomb <nicolas@loeuillet.org>
Thu, 18 Apr 2013 06:15:34 +0000 (08:15 +0200)
inc/functions.php

index 68c3612f1952628d154ca14cb1e4ad16d4344747..a6109ef72adf28d7fb749d6bba0bb49dc03ddf9c 100644 (file)
@@ -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";
         }
     }